Automation

 View Only
  • 1.  Set-VM without interaction ?

    Posted Oct 01, 2010 02:42 PM

    My script runs

    set-VM -VM $poolserver -Name $machinename -MemoryMB $memory -NumCpu $numcpu

    and prompts me.

    How is the -confirm flag supposed to work? I want to do it without being prompted

    Thanks,

    Tom



  • 2.  RE: Set-VM without interaction ?

    Posted Oct 01, 2010 02:45 PM

    -confirm:$false

    Not sure why the colon is needed though