your home for end-user virtualization!

Find the installed Citrix Receiver version using Windows Powershell

$workstations = Get-Content .\pclist.txt
$datestamp = Get-Date -Format "yyyyMMdd"

foreach ($workstation in $workstations) {
    $cdviewer = "\\$workstation\C$\Program Files\Citrix\ICA Client\CDViewer.exe"

    if (Test-Path $cdviewer) {
        $citrixver = (Get-Command $cdviewer).FileVersionInfo.FileVersion
    } else {
        $citrixver = "Not Installed"
    }
    
    "$workstation | $citrixver" | Out-File -Append .\citrix_results-$datestamp.txt
}

Search

Categories