Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 258290

Re: Wait until PowerState not working

$
0
0

LucD you are a legend! Something so simple, worked a charm thank-you!

Funny enough I wasnt far off in one my script versions:

do {

sleep -s 10

$vmcheck = $vm | %{$_.powerstate}

}

until ($vmcheck -match “PoweredOff”)

 

again the $vm stupidly tripped me up


Viewing all articles
Browse latest Browse all 258290

Trending Articles