Export and Import user assignments from one Citrix RemotePC to another

$srcRemotePC = ‘DomainName\65TELW19’$destRemotePC = ‘DomainName\65TELW20’Get-BrokerUser -PrivateDesktopUid (get-BrokerPrivateDesktop -MachineName $srcRemotePC ).Uid | | %{ if($_.Upn -ne “”) {Add-BrokerUser -Machine $destRemotePC -Name $_.Upn}}

Identify VDI workers that blue screened in vSphere

Typical recommendation in VDI is to turn off OS Memory dump collection and auto reboot on the bluescreen. Optimization tools from citrix/vmware take care of this setting automatically. But this masks the events if there a real issue with master image. Following PowerShell snippet will provide information if any of the worker vm’s have crashed. …

Good places to find installer silent switches and post optimization/cleanup tasks

https://www.powershellgallery.com/packages/Evergreenrefer to JSON manifest files https://silentinstallhq.com/silent-install-knowledge-base/ https://community.chocolatey.org/packages https://github.com/ScoopInstaller/Main/tree/master/bucket

How does browser know what Certificate to provide for Client Cert Authentication

Ever wonder how the browser provided the client cert when multiple are available for the user? The answer is the server that is requesting the client cert for authentication has an option to ask for the cert that is signed by a specific Distinguished Name CA, which is part of the server communication. You can …

Automate Citrix Session Launch for Load tests or health probing

Requirements Citrix Workspace app Version 1808 for Windows or later. Storefront Store needs to have http auth module enabled. Step 1: Retrieve Resource Name of the app/desktop you would like to automate “C:\Program Files (x86)\Citrix\ICA Client\AuthManager\storebrowse.exe” -U <username> -P <password> -D <domain> -M 0x2000 -E “https://<storefrontserver>/Citrix/<storename>/discovery” First column of the output would have the resource …