What does this return ?
Get-VM | Select Name,PowerState
Are the PowerState values correct ?
Stupid question, but how did you populate the $list variable ?
$list = Get-VM
What does this return ?
Get-VM | Select Name,PowerState
Are the PowerState values correct ?
Stupid question, but how did you populate the $list variable ?
$list = Get-VM