How to install RSAT using PowerShell
If you consider yourself a power user and love all things power — like power tools,
power steering, and you drink nothing but Powerade — then you might want a more
powerful way to install Remote Server Administration Tools. If this sounds like you, then
here's how to install RSAT features using PowerShell.
List all RSAT features and the installed state
using PowerShell
First, we’ll use PowerShell to identify which RSAT features are currently installed.
Here’s the script.
Get - WindowsCapability - Name RSAT * - Online | Select-Object - Property DisplayName ,
State
As you can see from this screenshot, this machine already has a few RSAT features
installed.
Install a specific RSAT feature by name
Add - WindowsCapability - Online - Name "<tool_name>"
Replace <tool_name> with the name of the Remote Server Administration Tool you
want to install.
Here is a list of all the RSAT features with their proper PowerShell names.
Display Name Name
Active Directory Domain Services and
[Link]~~~~[Link]
Lightweight Directory Services Tools
BitLocker Drive Encryption Administration
[Link]~~~~[Link]
Utilities
Active Directory Certificate Services [Link]~~~~[Link]
DHCP Server Tools [Link]~~~~[Link]
DNS Server Tools [Link]~~~~[Link]
Failover Clustering Tools [Link]~~~~[Link]
File Services Tools [Link]~~~~[Link]
Group Policy Management Tools [Link]~~~~[Link]
IP Address Management (IPAM) Client [Link]~~~~[Link]
Data Center Bridging LLDP Tools [Link]~~~~[Link]
Network Controller Management Tools [Link]~~~~[Link]
Network Load Balancing Tools [Link]~~~~[Link]
Remote Access Management Tools [Link]~~~~[Link]
Remote Desktop Services Tools [Link]~~~~[Link]
Server Manager [Link]~~~~[Link]
Shielded VM Tools [Link]~~~~[Link]
Storage Migration Service Management
[Link]~~~~[Link]
Tools
Storage Replica Module for Windows
[Link]~~~~[Link]
PowerShell
System Insights Module for Windows
[Link]~~~~[Link]
PowerShell
Volume Activation Tools [Link]~~~~[Link]
Windows Server Update Services Tools [Link]~~~~[Link]
For example, to install Remote Desktop Service Tools, run this command:
Add - WindowsCapability - Online - Name "[Link]~~~~[Link]"
How to install all RSAT features with one
PowerShell command
If you don't have the patience to install RSAT features one at a time, I don’t blame you.
Instead, we can use this script to install all the available RSAT features in one go.
Get - WindowsCapability - Name RSAT * - Online | Add - WindowsCapability - Online
If you have the Optional features window open after running the command, you can
monitor each feature as it's installed.