Install all RSAT tools via PowerShell

You can use the following one line of PowerShell to easily install all of the available Remote Server Administration Tools (RSAT) in one go. I end up running this after every Windows feature update., Saves wasting time with a GUI.

Open an admin PowerShell prompt

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online

Individuals Tools

If instead you only want to install a single tool or a small number. This command will give you a list of all of the available RSAT tools

Get-WindowsCapability -Name RSAT* -Online

You can then install the individual tool using

Add-WindowsCapability –online –Name “<tool name>”


Add-WindowsCapability –online –Name “Rsat.ActiveDirectory.DS-LDS.Tools~~~~”

Checking the install status

This command will show which tools (if any) you currently have installed

Present = Installed

Not Present = Not installed

Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State

2 thoughts on “Install all RSAT tools via PowerShell”

  1. Minor issue with your command syntax.

    Take a look at the “-Online” after Add-WindowsCapability and compare it to the other “-Online”. One is a regular hyphen, the other is an em dash (long dash). When you try to paste it into PowerShell, the em dash doesn’t translate properly.

    Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.