New-Nano: automating Windows Nano Server lab builds with PowerShell Posted by By Kenward April 30, 2016Posted inPowerShell, ScriptsNo Comments I wrote this function to automate Nano Server lab builds into Hyper-V. You need to supply the "Windows Server 2016 Technical Preview 5" ISO, which you can get here or…
Get the IP addresses of Hyper-V VMs Posted by By Kenward April 29, 2016Posted inPowerShell, Scripts1 Comment Get all of the IP addresses of Hyper-V VMs. foreach ($vm in $(Get-VM)) { "Name = $($vm.Name); IP = $($vm.NetworkAdapters.IPAddresses)" }