I had a recent requirement from one of our clients that took a little bit of tinkering to figure out… we will call our client Contoso LLC. and our project that we host for them we will call the “Cool Widget Project.” We built a really neat widget of an application for Contoso to use […]

This is redacted version of a powershell script I had to come up with recently to fix an issue with a web application in our environment. $hostsPath = "$env:windir\System32\drivers\etc\hosts" $ip = ipconfig | findstr /i IPv4 |Out-string $ip = $ip.TrimStart("IPv4 Address. . . . . . . . . . . : ") $ip = […]

I had some trouble finding some good examples of syntax and full explanation for creating VHD files (attaching new hard drives) from the Azure Powershell command line and attaching them to existing VMs. Here is my quick and dirty method of doing just that…