Wednesday, December 9, 2015

Citrix Xenapp Rename Client Folder

Add-PSSnapin Citrix*
$PubFolderPath = Read-Host "Enter the path in appcenter (ex:\Applications\FX PrimeVerify\)"
$Applications = Get-XAApplication -FolderPath $PubFolderPath
foreach ($App in $Applications){
     $NewClientFolder = $App.ClientFolder.Replace("OLD_Name", "NEW_Name")
   Set-XAApplication -BrowserName $App.BrowserName -ClientFolder $NewClientFolder
    }

No comments:

Post a Comment