-
-
Save alainassaf/c0fa0454bbc5e6816a361b4ebe9e3255 to your computer and use it in GitHub Desktop.
cleanup-reboot gist 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[parameter(Position = 0, Mandatory=$False )] | |
[ValidateNotNullOrEmpty()] | |
$DeliveryControllers="YOURDDC.DOMAIN.LOCAL" # Change to hardcode a default value for your Delivery Controller. Can be a list separated by commas | |
) | |
#Constants | |
$PSSnapins = ("Citrix*") | |
$WORKERGROUPS = "Zone Data Collectors,Productivity Apps" #Define which worker groups should be processed. Comma seperated list, spaces acceptable, case insensitive (for example "Zone Data Collectors,Productivity Apps"). Leaving blank will process all servers in the farm as in previous revisions | |
$EXCLUDESERVERS = "CORPCTX01,CORPCTX02,CORPCTX05" #Define which servers should be excluded from processing. Comma seperated list, short names only, case insensitive (for example "CORPCTX01,CORPCTX02,CORPCTX05") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment