Skip to content

Instantly share code, notes, and snippets.

@alainassaf
Created February 7, 2017 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alainassaf/af85324dfbd043f169781872b09d8500 to your computer and use it in GitHub Desktop.
Save alainassaf/af85324dfbd043f169781872b09d8500 to your computer and use it in GitHub Desktop.
Original delprof script
#region check for citrix API
if ( (Get-PSSnapin -Name Citrix.Common.Commands -ErrorAction SilentlyContinue) -eq $null )
{
Add-PsSnapin Citrix.Common.Commands
Add-PsSnapin Citrix.XenApp.Commands
Add-PsSnapin Citrix.Common.GroupPolicy
}
#endregion
$servers = (get-xaserver).servername
foreach ($server in $servers)
{c:\delprof2\delprof2.exe -c:$server /u }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment