The purpose is to provide guidance on the installation of the Remote Server Administration Tools - WSUS Tools - API and PowerShell Cmdlets on a server operating system.
For Lenovo Patch to interact with WSUS to publish updates from a server operating system, the Remote Server Administration Tools (RSAT) - WSUS Tools - API and PowerShell Cmdlets need to be installed. To install the RSAT WSUS Tools - API and PowerShell Cmdlets, an administrator will need to run PowerShell from an elevated prompt. At that prompt, the can run the following script:
Install-WindowsFeature UpdateServices-RSAT,UpdateServices-API,UpdateServices-UI
After installation, an administrator may want to confirm the installation was successful. Run the following PowerShell script to determine the installation state:
Write-Host RSAT WSUS Tools API and PowerShell Cmdlets: (Get-WindowsFeature -Name UpdateServices-RSAT).InstallState Write-Host RSAT WSUS Tools API and PowerShell Cmdlets: (Get-WindowsFeature -Name UpdateServices-UI).InstallState Write-Host RSAT WSUS Tools API and PowerShell Cmdlets: (Get-WindowsFeature -Name UpdateServices-API).InstallState
If the state is "Installed", then RSAT WSUS Tools is present.
If the state is "Available" then RSAT WSUS Tools are not installed.