Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [hashtable]$hypervisorConnections = @{}
- ## cache hypervisor connection details, keyed on the uid
- Get-BrokerHypervisorConnection | ForEach-Object { $hypervisorConnections.Add( $_.Uid , $_ ) }
- Get-BrokerCatalog | select-object -property name,catalogname,sessionsupport,ProvisioningType,PersistUserChanges,@{n='HypervisorConnection';e={$hypervisorConnections[ $_.HypervisorConnectionUid ].Name}},@{n='HypervisorFaultState';e={$hypervisorConnections[ $_.HypervisorConnectionUid ].FaultState}}|format-table -auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement