List Installed Roles and Features PowerShell

Опубликовано: 25 Октябрь 2024
на канале: Active Directory Pro
1,593
18

In this video, I will demonstrate how to use PowerShell to list the installed roles and features on Windows Server.

Example 1: List all features and roles
Get-WindowsFeature

Example 2: Filter to list just installed
Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"}

Example 3: Display just the name and installed state fields
Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"} | select Name,Installstate

Example 4: Get installed roles and features on remote computers
Get-WindowsFeature -ComputerName dc1 | Where-Object {$_. installstate -eq "installed"} | select Name,Installstate

Example 5: Wildcard search
get-windowsfeature ad

More Active Directory and Windows Server Tutorials
https://activedirectorypro.com/