Forum Discussion
ammarjaved
Apr 01, 2022Iron Contributor
How to Install or Uninstall RSAT in Windows 11
Remote Server Administration Tools (RSAT) is an essential tool for Windows administrators. This tool is designed to help administrators manage and maintain the servers from a remote locati...
romariormr
Dec 12, 2022Copper Contributor
_jorel
Dec 30, 2022Brass Contributor
I am including both steps here.
Run PowerShell as admin, then:
# Get RSAT items that are not currently installed:
$install = Get-WindowsCapability -Online |
Where-Object {$_.Name -like "RSAT*" -AND $_.State -eq "NotPresent"}
# Install the RSAT items that meet the filter:
foreach ($item in $install) {
try {
Add-WindowsCapability -Online -Name $item.name
}
catch [System.Exception] {
Write-Warning -Message $_.Exception.Message
}
}