Feb 05

Getting the Service Status of a DDC

# —————————————————————————————————
#PowerShell sample script to display the service statuses on a XenDesktop 5.x DDC
#
#Note: One or more required values must be specified below before executing the script.
#
#
#Version 1.0
#———————————————————————————————–

#Provide the following values before executing:

#The FQDN and port (if not the default of 80) of the DDC
#Eg: ‘ddc01.domain.com:80’
$ddcAddress = ”

#End of variables
#******************************************************************


asnp Citrix.*

Write-Host ‘AD Identity Service:’ $(Get-AcctServiceStatus -AdminAddress $ddcAddress)
Write-Host ‘Broker Service:’ $(Get-BrokerServiceStatus -AdminAddress $ddcAddress)
Write-Host ‘Configuration Service:’ $(Get-ConfigServiceStatus -AdminAddress $ddcAddress)
Write-Host ‘Host Service:’ $(Get-HypServiceStatus -AdminAddress $ddcAddress)
Write-Host ‘Machine Creation Service:’ $(Get-ProvServiceStatus -AdminAddress $ddcAddress)
Write-Host ‘Machine Identity Service:’ $(Get-PvsVmServiceStatus -AdminAddress $ddcAddress)

Leave a Reply

Your email address will not be published.