BGONZALES_ASH
Contributor
Contributor

Yes, see below...

PowerCLI C:\temp> get-vm -name testfailover

Name                 PowerState Num CPUs MemoryGB

----                 ---------- -------- --------

testfailover         PoweredOn  4        6.000

PowerCLI C:\temp> get-content -path c:\temp\vm.txt

testfailover

PowerCLI C:\temp> Get-VM -Name (Get-Content -Path c:\temp\vm.txt)

Name                 PowerState Num CPUs MemoryGB

----                 ---------- -------- --------

testfailover         PoweredOn  4        6.000

Reply
0 Kudos