Viewing Available Administration Tools:
To see the list of available RSAT tools, use the following command:
1 | ( Get-WindowsCapability -Online | Where-Object { $_ .Name -like "RSAT*" }).Name |

Installing All RSAT Tools:
To install all the RSAT administration tools, execute the command:
1 | Get-WindowsCapability -Online | Where-Object { $_ .Name -like "RSAT*" } | Add-WindowsCapability -Online |

Installing Specific RSAT Tools:
If you only need a particular tool, such as Active Directory, use the command:
1 | Get-WindowsCapability -Online | Where-Object { $_ .Name -like "RSAT.ActiveDirectory*" } | Add-WindowsCapability -Online |
0 Comments