- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using this, but its not helping -
$TEMPLATE = (get-Template $VM_NAME).Name
If ($TEMPLATE -eq $VM_Name)
{$CHK = "TEMPLATE"}
One more thing, When I m taking $cells.item($i,8) = (Get-VM $INPUT_IP|Select PowerState) , its thowing "0" for Powered OFF VMs.