A set of test to ensure pre-requisites for enabling ESU with Arc checks for 2012 servers.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri https://gist.github.com/lrivallain/17eb19c95ff66f44713de03b7c93c6f2/raw/arc-esu-check.ps1 -OutFile arc-esu-check.ps1
From a PowerShell console on the target server:
.\arc-esu-check.ps1
You can also get and execute the ESU script from @nitinbps by running:
Invoke-WebRequest -Uri https://raw.githubusercontent.com/nitinbps/ArcforServerSamples/main/ArcESUEnabled.ps1 -OutFile ./ArcESUEnabled.ps1
If file exists, it will be run at the end of the arc-esu-check.ps1
Hostname: WIN-49b8953c
OS name: Microsoft Windows Server 2012 R2 Datacenter
Windows is properly activated
Agent version: 1.35.02478.1326
Agent state: Connected
Looking for 2012 R2 pre-requisites
Checking: Servicing stack update (SSU)... KB5029368 is installed
Checking: Licensing Preparation Package... KB5017220 is not installed on this server
Looking for November released ESU
Checking: Security Monthly Quality Rollup... KB5032249 is installed
Checking: Servicing stack update (SSU)... KB5032308 is installed
Checking certificate: CN=Microsoft Azure TLS Issuing CA 01, O=Microsoft Corporation, C=US
Microsoft Azure TLS Issuing CA 01 - Certificate is valid
VERBOSE: Extended Security Update is enabled.
True