If the system cannot find the files on Windows Update, it may ask for a source.
This is the command provided in your subject line. It installs every available RSAT tool. If the system cannot find the files on
: This command is easily integrated into deployment scripts or task sequences, making it ideal for setting up new IT workstations. : This command is easily integrated into deployment
Get-WindowsCapability -Name RSAT* -Online | ForEach-Object Add-WindowsCapability -Online -Name $_.Name This command retrieves those features and installs them
The command get-windowscapability -name rsat* -online | add-windowscapability -online is the modern, automated method for installing the Remote Server Administration Tools (RSAT) suite on Windows. Unlike older versions of Windows where RSAT had to be downloaded as a standalone .msu package, modern Windows versions include RSAT as "Features on Demand" (FODs). This command retrieves those features and installs them directly from Windows Update.
While you can install RSAT via , the PowerShell method is superior for several reasons: