How To Detect An ICA Client And Its Version Number? #PowerShell

  • 0

How To Detect An ICA Client And Its Version Number? #PowerShell

With a few lines of code you can check if an ICA Client is installed and, if yes, determine its version.

The code below defines a function Get-ICAClientVersion. The function returns the value of the “ClientVersion” property of the “Citrix.ICAClient” COM object, or returns 0 if the object is not present (that is no ICA Client 8 or higher installed)



  • 0

How To Map A Network Printer? #PowerShell

If you want to add a network printer connection with PowerShell try one of the following ways:

Printui.dll Call

Use WshNetwork’s AddWindowsPrinterConnection method

Use WMI Win32_Printer’s AddPrinterConnection method


  • 0

How To Map A Network Drive? #PowerShell

Applies to: Windows PowerShell 1.0 and 2.0 (as from 3.0 you can use New-PSDrive w/ -Persist switch)

If you want to map a network share with PowerShell try one of the following ways:

WshNetwork’s MapNetworkDrive method

Good old NET USE


  • 0

How To Map Drives Based On an Active Directory Site? #VBSCript

You can use the ADSystemInfo object to determine the site name of the local computer: