One thing I really love about XenDesktop 5 is the fact that Desktop Studio (New Management Console) is built using the public PowerShell SDK. I especially like the fact that every action you carry out in Desktop Studio gets logged to the Powershell tab in Desktop Studio for admins to use as reference – usefull in any number of ways…
The key point to remember here is that Desktop Studio is not exposed to the full functionality of the SDK. What this means is that for some advanced configuration you need to use PoSH.
For example, I was trying to figure out how I could manage the power state of a desktop once I logged off or disconnected but couldn’t find any relevent setting in Desktop Studio. Reason for this is because this setting doesn’t exist in Desktop Studio.
Have no fear however as this can be configured through PowerShell using the set-brokerdesktopgroup cmdlet.
As you can see from the screenshot below. The available values include nothing, suspend and shutdown.
Remember, the power is in your hands, weather you know it or not.