866-764-TECH(8324) · Subscribe to Application Solution Providers, Inc.News FeedSubscribe to Application Solution Providers, Inc.Comments

Listing all virtual Desktops and their assigned user

Some admins would like to retrieve a list of virtual Desktops and their assigned user. The console doesn’t provide this.
This little powershell script delivers the required result

Prerequisits
Powershell on the DDC – get be obtained here : Microsoft Powershell Download Page
XenDesktop SDK installed on the DDC – Download here : Citrix XenDesktop SDK
(you may need to set the :Set-ExecutionPolicy” cmdlet to adjust the PowerShell execution policy to a value such as “RemoteSigned”)

Display all Desktops and assigned user
add-pssnapin "xdcommands"
$farm = new-xdadminconnection localhost #if executed on the DDC
get-xdvirtualdesktop| select-object name,assignedusername
Application Solution Providers, Inc. 866-764-8324

Application Solution Providers, Inc. 866-764-8324

Any software can be installed, maintained, and securely accessed from anywhere. Leverage the latest hosting technologies with a Digital Desktop.™ Consolidate and secure all your business applications and data in custom Hosted Environments.™

Your business applications and managed Application Hosting, Desktop Hosting, Web Hosting, Mail Hosting, Software as a Service (SaaS), Virtual Machines (VM), and Virtual Desktop Infrastructure (VDI) saves time and money.
 

For managed Application Consulting, Development, Marketing, Hosting, Support, and Training
Call 866-764-8324 · Send an email · Submit an Information Request

    Comments are closed.