PowerCLI Tidbit of the Day
Today I found myself needing to find all hosts that were in a state other than connected within a datacenter. It’s only a one-liner and I’m sure you can (or have) found it elsewhere, but here it is again for reference: Get-Datacenter -Name "ProfessionalVMware" | Get-VMHost | Where { $_.State -ne "Connected" } | Select
-> Continue reading PowerCLI Tidbit of the Day