VMware Cloud Community
jaturley
Contributor
Contributor
Jump to solution

shutdown-vmguest prompt

I am attempting to run a script to shutdown a vm using the shutdown-vmguest command. When the commnad runs it prompts for conformation. How can I script the response to this prompt so that the vm shutsdown without intervention. Thanks

0 Kudos
1 Solution

Accepted Solutions
Troy_Clavell
Immortal
Immortal
Jump to solution

0 Kudos
2 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

-Confirm:$false
0 Kudos
jaturley
Contributor
Contributor
Jump to solution

Thanks

0 Kudos