Welcome to my own powershell cheat sheet where I will make notes about most important and most commonly used XenDesktop powershell commands. I will include also the list of powershell commands used in all my articles from XenDesktop 7.6 install with powershell series together with link to the article and command examples.
Update 01.09.2017
In this post I will document powershell commands available in XenDesktop 7.6 and newer versions.
Update 11.09.2017
For detailed information for XenDesktop 7.15 automation tasks please see my post XenDesktop 7.15 automation with powershell
# Get-BrokerController Get-BrokerController |select DNSName, ControllerVersion #
# Get-XDSite or Get-ConfigSite #
#For more info see: #XenDesktop 7.6 install with powershell Part 1 - Figure 14 # -AdminAddress - controller we will connect to # -ControllerName - controller we will add/remove #Add new controller to the site Add-XDController -AdminAddress XD001 -ControllerName XD002 #Remove controller from the site Remove-XDController -AdminAddress XD001 -ControllerName XD002 #
#For more info see: #XenDesktop 7.6 install with powershell Part 1 - Figure 7,8,9 # Display licensing details Get-ConfigSite # Configure new settings for product code, edition and licensing model Set-ConfigSite -LicensingModel Concurrent -ProductCode MPS -ProductEdition ENT # Configure License server name and port Set-XDLicensing -LicenseServerAddress DC01 -LicenseServerPort 27001 # Display licensing options Get-ConfigLicensingModel #
# Configure new settings for product code, edition and licensing model Set-ConfigSite -ProductCode MPS -ProductEdition ENT # Display production options Get-ConfigProduct # Display product versions Get-ConfigProductVersion # Display product editions Get-ConfigProductEdition #
# Display configured zones Get-ConfigZone # Display controllers in XenDesktop zones Get-ConfigZone |Select Name, ControllerNames #
To be continued ….
Is there a command in 7.6 that list the applications published in the farm?
Get-BorkerApplication
Is there any chance you could update the commands from your 6.5 cheat sheet for 7.6?
would love to get the correct commands to get active users, etc.
i want to exctart the list of delivery group in the ddc through powershell and i want to get the list of delivery group in which we have installed a particular application like “mozilla fire fox”
Looking for a way to Real time monitor my Xenapp 7.1X farms using Powershell commands.
I need to add user group using powershell command