I want to change 1000 vm's remark , but i don't know！
I want to change the vm's note(remark) in the vCenter.
Basically, that can be done with the Set-VM cmdlet and the Notes parameter.
Get-VM -Name MyVM | Set-VM -Notes 'Newnotes'
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you very much! But your method requires manual verification。I make it.
.I make a csv(utf-8) and import it to powercli 。 use the code in the pic , to change the vm's notes without manual verification。
How to make it without confirmation?
Get-VM -Name MyVM | Set-VM -Notes 'Newnotes' -Confirm:$false
Yes,You are right. Thank you very much !