pwsh..RSAT

RSAT instructions, including netsh for proxy

# To get past internet blocks, in admin cmd:
netsh winhttp set proxy 192.168.1.2:3128
 
# In admin powershell get the path and see if WSUS is in use
Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" | select UseWuServer

# Set it to 0 to disable WSUS on the client and restart service to reflect the change
Set-ItemProperty -path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name 'UseWUServer' -Value '0'
Restart-Service -Name wuauserv
 
# Here you search for RSAT available apps and versions
Get-WindowsCapability -Online | ? Name -like "RSAT*"
 
# Select apps and install 
Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.WSUS.Tools~~~~0.0.1.0
 
# Or install all
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online
 
# Once the RSAT install is complete go back to using WSUS
Set-ItemProperty -path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name 'UseWUServer' -Value '1'
Restart-Service -Name wuauserv
 
# Remove the proxy if needed
netsh winhttp reset proxy

Reference: https://learn.microsoft.com/en-us/troubleshoot/windows-server/system-management-components/remote-server-administration-tools