Friday, June 17, 2011

How to retrieve DesktopCenters from VDI Management Console

First, go through this post about how to retrieve VHost.
http://automationofvdi.blogspot.com/2011/06/how-to-retrieve-vhosts-in-vdi.html

Now we have a pscmdlet for desktopcenter:-
Get-DesktopCenter -VirtualizationType -VirtualizationProductType

 Now for VirtualizationProductType, use get-VirtualizationProductType and for virtualizationType use get-VirtualizationType.

Now specify them in the particular order and you will get the DesktopCenters linked with it.

$x=Get-VirtualizationType
$y=Get-VirtualizationProductType
$x=Get-DesktopCentres $x[1] $y[1]


No comments:

Post a Comment