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
-Confirm:$false
-Confirm:$false
Thanks