Skip to content

Instantly share code, notes, and snippets.

@alainassaf

alainassaf/delprof.ps1 Secret

Created Feb 7, 2017
Embed
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
}
#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
You can’t perform that action at this time.