When you’re using the PowerShell module for Hyper-V from James O’Neill (a.k.a. jamesone) then you’ll find out that many cmdlets don’t accept string collections as variable. Here’s an example: Import-Module c:\psmodules\HyperV\HyperV.psd1 $Hosts = “HV01,HV02,HV03,HV04” Stop-VM -VM VM03 -Server $HostsString -Force Throws this error: Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) At c:\psmodules\HyperV\VM.ps1:73 […]
Continue reading about Strange behavior with Hyper-V module from Codeplex
Recent Comments