Hi,
I've got a beginners question since I just dived into the PowerCli world
Whenever I give a "get-vm -name <name>" I get a result that displays me the: Name, PowerState, Num CPU and memory.
No I've created a very simple script:
param ( $VMHost, $VMName )
Connect-VIServer $VMHost
Get-VM -name $VMName
Whenever this is executed: ./script.ps1 <vcenterserver> <name> it gives me far more information about that specific VM.
Am I overlooking something since IMHO the "get-vm" sentences are identical.
Thanks for clearing this out to me!
Kenneth
I've got a beginners question since I just dived into the PowerCli world
Whenever I give a "get-vm -name <name>" I get a result that displays me the: Name, PowerState, Num CPU and memory.
No I've created a very simple script:
param ( $VMHost, $VMName )
Connect-VIServer $VMHost
Get-VM -name $VMName
Whenever this is executed: ./script.ps1 <vcenterserver> <name> it gives me far more information about that specific VM.
Am I overlooking something since IMHO the "get-vm" sentences are identical.
Thanks for clearing this out to me!
Kenneth