VMware Cloud Community
itc0mputerguru
Contributor
Contributor
Jump to solution

Scripting the Confirmation box answers

Does anyone know how to script out the confirmation box answers inside powergui?

0 Kudos
1 Solution

Accepted Solutions
esarakaitis
Enthusiast
Enthusiast
Jump to solution

add the following to the end of your snippet...

-confirm:$false

like this:

set-networkadapter -networkname $ToNetwork -confirm:$false;

http://www.vmwarescripting.com

View solution in original post

0 Kudos
1 Reply
esarakaitis
Enthusiast
Enthusiast
Jump to solution

add the following to the end of your snippet...

-confirm:$false

like this:

set-networkadapter -networkname $ToNetwork -confirm:$false;

http://www.vmwarescripting.com

0 Kudos