Citrix.Broker.Admin.V2 – If you are not running this from a controller, you’ll need to install this module.
$DDC = "server.local” – Key in either controller name or IP of the controller you want to connect to.
$Logfile = "c:\windows\temp\Citrix_Tool_Log.txt” – Path to Log file. Right now it is set to windows temp directory
$AD_Domain = "Domain\” – Add your domain (i.e. company\)
$SC1_Button.enabled = $False
& 'D:\Program Files (x86)\Mozilla Firefox\firefox.exe' "Enter Director URL"
Start-Sleep -Seconds 2
$SC1_Button.enabled = $True
Showing Session Not Found
Invalid Username (Doesn’t exist in AD)
Showing the App Name, Serer and if Active or Disconnected
Session Info of Disconnected Session
Session Info of Active Session
Selecting the session and clicking Connect will bring up Remote Assistance. Select the user and click Next
Showing Logoff was successful