VMware Cloud Community
thattommyhall2
Contributor
Contributor

Set-VM without interaction ?

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

Reply
0 Kudos
1 Reply
thattommyhall2
Contributor
Contributor

-confirm:$false

Not sure why the colon is needed though

Reply
0 Kudos