How to List the Roles and Features Installed on Windows Server 2016 and 2019
search cancel

How to List the Roles and Features Installed on Windows Server 2016 and 2019

book

Article ID: 204707

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Broadcom Support has asked you to provide a list of the Rolls and Features installed on your Windows Server 2016 or Windows 2019 server.

Environment

Windows Server 2016

Windows Server 2019

Resolution

The following PowerShell command can be used to list the Rolls and Features installed on Windows Server 2016 and 2019 and pipe the information into a file:

Note: the directory you list below must already exist:

At a PowerShell prompt type the command below.

Get-WindowsFeature *> [Drive Name]:\[Directory Name]\[Filename]

For Example: Get-WindowsFeature *> C:\windows\Temp\RolesAndFeatures.txt