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/
Watch video List Installed Roles and Features PowerShell online without registration, duration hours minute second in high quality. This video was added by user Active Directory Pro 08 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,593 once and liked it 18 people.