remove NIC team confimation on windows 2012 server

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Forums Archives Forums Archives 5 years, 3 months ago.

  • Author
    Posts
  • #5802

    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" ?
    Carlo

    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
    Carlo

You must be logged in to reply to this topic.