I got a list of vms
vms.txt
how do I use get-view with the list of vms in the txt file?
You could do something like this.
Get-View -ViewType VirtualMachine -Filter @{Name=$names}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference