How to Install RSAT using PowerShell in Windows 11

Configurare noua (How To)

Situatie

Solutie

For sysadmins who want advanced stuff, RSAT tools can also be installed using PowerShell. The beauty of using PowerShell is that you will be able to install RSAT tools even on remote computers.

To install all RSAT tools using PowerShell with Administrator privileges, run the following cmdlet in an elevated PowerShell instance:

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

To install a specific module, you’ll need to give the name of the module instead of the “*”.

First, list down all the available RSAT tools. Open PowerShell as an administrator and run the following command:

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

For example, here is the output when I run this command on my computer:

Get WindowsCapability command to list all rsat tools
Get WindowsCapability command to list all rsat tools
  1. Rsat.ActiveDirectory.DS-LDS.Tools Rsat.AzureStack.HCI.Management.Tools~~~~0.0.1.0
  2. Rsat.BitLocker.Recovery.Tools Rsat.CertificateServices.Tools Rsat.DHCP.Tools~~~~0.0.1.0
  3. Rsat.Dns.ToolsotPresent Rsat.FailoverCluster.Management.Tools Rsat.FileServices.Tools~~~~0.0.1.0
  4. Rsat.GroupPolicy.Management.Tools Rsat.IPAM.Client.Tools Rsat.LLDP.Tools~~~~0.0.1.0
  5. Rsat.NetworkController.Tools Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0
  6. Rsat.RemoteAccess.Management.Tools Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0
  7. Rsat.ServerManager.Tools Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0
  8. Rsat.StorageReplica.Tools Rsat.SystemInsights.Management.Tools~~~~0.0.1.0
  9. Rsat.VolumeActivation.Tools Rsat.WSUS.Tools~~~~0.0.1.0

Copy the name of the tool you want to install and run the command, such as follows:

Get-WindowsCapability -Name Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0 -Online | Add-

Tip solutie

Permanent

Voteaza

(10 din 17 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?