itc0mputerguru
Contributor
Contributor

Scripting the Confirmation box answers

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
esarakaitis
Enthusiast
Enthusiast

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

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