Skip to content

Instantly share code, notes, and snippets.

Created February 7, 2017 16:15
What would you like to do?
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
$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