fix issue with hyperv
This commit is contained in:
parent
9238b96fbd
commit
f25521ce74
|
@ -53,7 +53,10 @@ Try {
|
|||
$item.name = $vm.VMName
|
||||
$item.state = $vm.State.value__
|
||||
$item.integration_services_state = $vm.IntegrationServicesState
|
||||
$item.integration_services_version = $vm.IntegrationServicesVersion.toString()
|
||||
$item.integration_services_version = $null
|
||||
if ($null -ne $vm.IntegrationServicesVersion) {
|
||||
$item.integration_services_version = $vm.IntegrationServicesVersion.toString()
|
||||
}
|
||||
$item.note = $note
|
||||
|
||||
$services = New-Object System.Collections.Generic.List[Hashtable];
|
||||
|
|
Loading…
Reference in New Issue