Created
          May 9, 2014 08:01 
        
      - 
      
- 
        Save BenNeise/7340c74284e369538633 to your computer and use it in GitHub Desktop. 
    Get VDI Capacity Information from the Horizon View ADAM Database
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Connect-QADService -Service "YourConnectionServer" | |
| $ObjVDICapacityData = Get-QADObject -IncludeAllProperties -SizeLimit 0 -SearchRoot "OU=Server Groups,DC=vdi,DC=vmware,DC=int" -Type "pae-ServerPool" | Select-Object Name,@{Name="DisplayName";Expression={$_."pae-DisplayName"}},@{Name="MinProvisioned";Expression={$_."pae-SVIRollingRefitMinReadyVM"}},@{Name="Spare";Expression={$_."pae-VmHeadroomCount"}},@{Name="MaxDesktops";Expression={$_."pae-VmMaximumCount"}},@{Name="MinDesktops";Expression={$_."pae-VmMinimumCount"}} | |
| Disconnect-QADService | |
| $ObjVDICapacityData | Format-Table -Auto | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment