Sunday, May 1, 2011

Enumerate roles on a Windows 2008 R2 Server using PowerShell

The two PowerShell commands below will enumerate roles on a Windows 2008 R2 Server.  The same data can be found via the Server Manager GUI, but the PowerShell option can create an overall list.

import-module servermanager

get-windowsfeature

enumerate_roles

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.