Advertisement
guyrleech

Show Citrix Cloud Catalogs & Hypervisor Connections

Oct 5th, 2022
1,249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [hashtable]$hypervisorConnections = @{}
  2. ## cache hypervisor connection details, keyed on the uid
  3. Get-BrokerHypervisorConnection | ForEach-Object { $hypervisorConnections.Add( $_.Uid , $_ ) }
  4.  
  5. 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
Tags: citrix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement