Stéphane Thirion
  • Home
  • Consulting – Raidho
  • homelab
3K
0
0
0
Stéphane Thirion
Stéphane Thirion
  • Home
  • Consulting – Raidho
  • homelab
  • Experience
  • Microsoft
  • PowerShell
  • Scripting
  • Windows 2016
  • XenApp

XenApp Windows 2016 build report

  • May 25, 2018
  • Stephane Thirion
Total
0
Shares
0
0
0
0
0
0
0

Recently I had to make a list of all the build in a XenApp site. A syou might have already noticed, in large enterprise, getting  the same OS version / build become a task hard to achieve since Windows 2016 / Windows 10 era. With the monthly updates and patches, released tend to become difficult to maintain at the same level in time.

This task needed to be automated to be able to have this information in realtime and able to build report of different Windows 2016 build splits among all the XenApp servers.

Get-OS-Build-XenApp.ps1   
# Use the FQDN of your XenApp Delivery Controller for $XDDC , is XenDesktop you need to change SessionSupport to be equal to SingleSession.
# OS.csv will be created with build informations.
 
Add-PSSnapin citrix*
 
$XDDC = "DeliveryController FQDN"
$exportCSV = ".OS.csv"
 
Remove-Item $exportCSV -ErrorAction SilentlyContinue 
 
foreach ($list in (Get-BrokerMachine  -AdminAddress $XDDC -Filter "((SessionSupport -eq `"MultiSession`"))" -Skip 0 | Select-Object DNSName)) {
 
 
 if((Test-Connection -Cn $list.DNSName -Protocol DCOM -BufferSize 16 -Count 1 -ea 0 -quiet ))
 
    {  
 
        $s = New-PSSession -ComputerName $list.DNSName
            $ver = Invoke-Command -Session $s -ScriptBlock {Get-ItemProperty "HKLM:SOFTWAREMicrosoftWindows NTCurrentVersion"}
        $s | Remove-PSSession | out-null
            $ver | select PSComputerName, ProductName ,ReleaseId, CurrentVersion, CurrentBuild, UBR | export-csv -Path $exportCSV -NoTypeInformation -Append 
            $ver | select PSComputerName, ProductName ,ReleaseId, CurrentVersion, CurrentBuild, UBR | Write-Host
    } 
 
    #Write-Host $list.DNSName
 
}

Some Excel magic

How come I do have some many different Windows 2016 build in the same delivery group ? ^^

Hope this helps !

Thanks to Renaud Devers for the help 🙂

Total
0
Shares
Tweet 0
Share 0
Share 0
Share 0
Share 0
Share 0
Share 0
Related Topics
  • PowerShell
  • Windows Build
  • Windows Version number
  • XenApp
Stephane Thirion

Previous Article
  • ArchY.net Site
  • Citrix
  • CTP

2018 CTP

  • February 1, 2018
  • Stephane Thirion
View Post
Next Article
  • Citrix
  • SmartAuditor

Use only Windows English version with language pack for Session Recording

  • July 4, 2018
  • Stephane Thirion
View Post
You May Also Like
View Post
  • Active Directory
  • ADC
  • Citrix
  • Citrix Virtual Apps and Desktops
  • DaaS
  • Microsoft
  • NetScaler
  • Security

Netscaler native OTP Active Directory account delegation

  • Stephane Thirion
  • March 22, 2023
View Post
  • Citrix
  • Citrix Virtual Apps and Desktops
  • Cloud
  • DaaS
  • Microsoft
  • PowerShell
  • VMware
  • vSphere

Create vmware service account for MCS Citrix

  • Stephane Thirion
  • February 28, 2023
View Post
  • Experience
  • Linux
  • VMware
  • vSphere

multipathd errors in /var/log/syslog

  • Stephane Thirion
  • August 2, 2022
View Post
  • Experience
  • Raspberry

Install Zigbee2MQTT on a Raspberry Pi Zero W

  • Stephane Thirion
  • July 8, 2022
View Post
  • Docker
  • Experience
  • Kubernetes
  • Linux
  • Raspberry

Kubernetese cluster use with Crypto Currency (Monero)

  • Stephane Thirion
  • January 4, 2022
View Post
  • VMware
  • vSphere
  • Windows 2022

Migrating FSMO roles Windows 2022 Server

  • Stephane Thirion
  • January 3, 2022
View Post
  • ADC
  • Experience
  • Linux

Cloud yes but no, thanks (there is some Citrix)

  • Stephane Thirion
  • December 7, 2021
View Post
  • Azure
  • Azure
  • PowerShell
  • Scripting
  • Security

Export all Admin Roles and members from Azure AD

  • Rodolphe Herpeux
  • March 25, 2021
vmware
Binance – Affiliated link
Coinbase – Affiliated link
Blog Stats
  • 1,239,190 hits
Categories
  • Amazon (1)
  • Apple (20)
    • iOS (5)
    • Mac OSx (11)
  • ArchY.net Site (30)
  • Azure (8)
  • Certifications (3)
  • Citrix (211)
    • ADC (4)
    • Citrix Virtual Apps and Desktops (5)
    • DaaS (2)
    • NetScaler (15)
    • Password Manager (3)
    • Personal vDisk (5)
    • Power and Capacity Management (3)
    • Provisioning Services (22)
    • Receiver (29)
    • SDX (2)
    • ShareFile (8)
    • Single Sign On (3)
    • SmartAuditor (2)
    • Storefront (12)
    • Synergy (25)
    • User Profile Management (2)
    • VDI (7)
    • WebInterface (21)
    • XenApp (84)
    • XenApp Plugin (3)
    • XenClient (10)
    • XenDesktop (55)
    • XenServer (42)
  • Cloud (13)
  • Crystal Ball (2)
  • CTP (13)
  • Docker (2)
  • Events (35)
    • E2E – PubForum (9)
    • Geek Speak (3)
  • Experience (53)
  • Kubernetes (2)
  • Licensing (3)
  • Linux (12)
  • Microsoft (147)
    • Active Directory (1)
    • Azure (8)
    • Office365 (4)
    • PowerShell (19)
    • RDS (5)
    • Windows 10 (6)
    • Windows 2003 (21)
    • Windows 2008 (20)
    • Windows 2008 R2 (54)
    • Windows 2012 (13)
    • Windows 2012R2 (13)
    • Windows 2016 (18)
    • Windows 2019 (4)
    • Windows 2022 (1)
    • Windows 7 (27)
    • Windows 8 (19)
    • Windows Virtual Desktop (1)
    • Windows XP (11)
  • News (5)
  • Raidho (2)
  • Raspberry (3)
  • Scripting (13)
  • Security (5)
  • Slide Deck (1)
  • Thin Clients (3)
  • Twitter (1)
  • Ubiquiti (1)
  • Uncategorized (13)
  • VMware (28)
    • VMWare WorkStation (2)
    • vSphere (16)
Stéphane Thirion
Don't Follow the Trend

Input your search keywords and press Enter.

 

Loading Comments...