I have a large number of vm's for which I need to upgrade vmtools. What I am looking to do is upgrade tools based upon a CSV or other type of list, also suppressing reboot. I would prefer to use powercli 5.
Thanks,
JDD
Try something like this
Import-Csv C:\vmnames.csv -UseCulture | %{
Get-VM -Name $_.VmName | Update-Tools
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I have tried this suggestion and it didn't work. There were no error messages, also I didn't see anything show up in the eventviewer on the vm's I tried to update.
Does your CSV file look something like this
VMname
VM1
VM2
VM3
You need to have to columnheader in the 1st row.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference