Get-WindowsFeature -Name UpdateServices InstallState : Installed
The command ran almost instantly. PowerShell returned a concise table: get-windowsfeature -name updateservices
But the story doesn’t end with one command. Alex realized the power of Get-WindowsFeature -Name UpdateServices was in its and its context . was installed on WSUS-01.
Occasionally, Get-WindowsFeature may throw an error regarding the "TargetInvocationException" or fail to query the feature. This is typically due to: get-windowsfeature -name updateservices
Alex opened PowerShell as an administrator—no GUI, no clicking through Server Manager. Just a blinking cursor. The goal was simple: verify whether the core WSUS role, including its management console and database components, was installed on WSUS-01.