Author Posts

January 1, 2012 at 12:00 am

by willbs at 2013-04-12 09:07:06

i am trying to remove a NIC team from a windows 2012 server
when i use this command to remove the team, i get a confimation dialog, is there a way to run this command with out getting the confimation, a -force sort of thing that this command does not allow
is there something i can do with the -confirm?

remove-netlbfoteam -name teamname

by happysysadm at 2013-04-12 10:40:46

Hi Willbs,
have you tried appending "-Confirm:$false" ?

by willbs at 2013-04-12 10:53:14

ya i just found the correct syntax on the internet, tried it and it worked then i came back here and saw what you wrote, good stuff
previously i tried a -Confirm false then -Confirm $false then -Confirm: $false, jeez what a beating

thanks for your help

by the way i'm trying to use prosetcl on the same 2012 server and having no results but it worked well with 2008 server, do you have any experiance?

by happysysadm at 2013-04-12 10:55:50

There are a few thing whose syntax is for some reason harder to remember so I force myself to learn by heart. "-Confirm:$false" is one of them.
Glad I could help