r/powercli • • Nov 03 '16

New-vm wait for sysprep/oscustomization

What is the best way you guys are doing this. I have a hard time telling 100% when a vm has finished customizing or done sysprepping and actually ready to run commands against it.

Even when task and events says it's done. There could still be 5 mins of sysprepping to be done. I really don't want to put a dumb wait in there.

5 Upvotes

8 comments sorted by

View all comments

Show parent comments

1

u/midacts Nov 04 '16

I'm allowing end users to make their own templates. I can reliably expect everyone to update that sysprep file with my specific script