O'Reilly logo

Getting Started with XenDesktop® 7.x by Craig Thomas Ellrod

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Troubleshooting using the XD PowerShell SDK

There are some common cmdlets that can be used for troubleshooting. The most useful cmdlet for troubleshooting a user's desktop is the Get-BrokerDesktop cmdlet. This shows the connection information for the desktop, such as connection time, deregistration time, and any errors that might have occurred.

Useful desktop cmdlets

To find desktops that are hung or not responding because they haven't been shut down after use, you can use the following command:

Get-BrokerDesktop –PowerActionPending $false –PowerState On –SummaryState Available –WillShutdownAfterUse $true

To find and set the desktop group's settings, you can use the Get-BrokerDesktopGroup and Set-BrokerDesktopGroup cmdlets.

To change the protocol ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required