Microsoft Project Server, SharePoint, Security and other cool things…

Rolly Perreaux

   LinkedIn - MVP-Press Networking Group   @RollyPerreaux   RSS Feed    

 

Server Manager PowerShell Cmdlets Table

Posted on January 18, 2010 by - 4,055 views
facebooktwittergoogle_plusredditpinterestlinkedin

In my research for my upcoming Deploying and Managing Microsoft Project Server 2010 course, I was searching for a list of Server Manager PowerShell cmdlets. More specifically for installing the Web Server role through the use of PowerShell. I came across a few interesting blogs that were specifically to installing the server roles in the pre-installation of Microsoft Exchange 2010 (which I already use in my course setup guide).

But I found an interesting TechNet article on the ServerManagerCmd.exe command-line tool that asked the reader to search the Windows Server 2008 R2 help file on Server Manager for additional information. So off I go to the help file and after doing a key-word search, there is was. I was very surprised that this table wasn’t listed on TechNet, so here it is…

Server Roles, Role Services, and Feature Command Identifiers

The tables in this section match roles, role services, and features that are available in Windows Server 2008 R2 with the command identifiers that you can use with Server Manager PowerShell cmdlets to install or remove them.

Note: The ServerManagerCmd.exe command-line tool has been deprecated in Windows Server® 2008 R2.
Workaround – The Server Manager PowerShell cmdlets provide the needed functionality to replace the ServerManagerCmd.exe command-line tool.

Example PowerShell Code:  (2 lines of code)

Import-Module ServerManager
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy

Please note that you must use Import-Module ServerManager as your 1st line of code

 

Role and role service command identifiers

Active Directory Certificate Services command identifiers

Command value

Notes

Active Directory Certificate Services

AD-Certificate

 

Certification Authority

ADCS-Cert-Authority

 

Certification Authority Web Enrollment (not installable by using the command line)

ADCS-Web-Enrollment

 

Online Responder

ADCS-Online-Cert

 

Network Device Enrollment Service

ADCS-Device-Enrollment

 

Certificate Enrollment Web Service

ADCS-Enroll-Web-Svc

 

Certificate Enrollment Policy Web Service

ADCS-Enroll-Web-Pol

 

Active Directory Domain Services command identifiers

Command value

Notes

Active Directory Domain Services

AD-Domain-Services

After you install Active Directory Domain Services (AD DS), you must run the dcpromo command.

Removing the AD DS role while the computer is operating as a domain controller fails. You must first remove Active Directory Domain Services from the domain controller.

Active Directory Domain Controller

ADDS-Domain-Controller

 

Identity Management for UNIX

ADDS-Identity-Mgmt

 

Server for Network Information Service

ADDS-NIS

 

Password Synchronization

ADDS-Password-Sync

 

Administration tools for Identity Management for UNIX

ADDS-IDMU-Tools

 

Active Directory Federation Services command identifiers

Command value

Notes

Active Directory Federation Services

AD-Federation-Services

Active Directory Federation Services should be installed with default settings.

Federation Service

ADFS-Federation

 

Federation Service Proxy

ADFS-Proxy

 

Web Agents

ADFS-Web-Agents

 

Claims-aware Agent

ADFS-Claims

 

Windows Token-based Agent

ADFS-Windows-Token

 

Active Directory Lightweight Directory Services command identifiers

Command value

Notes

Active Directory Lightweight Directory Services

ADLDS

None

Active Directory Rights Management Services (AD RMS) command identifiers

Command value

Notes

Active Directory Rights Management Services (AD RMS)

ADRMS

Active Directory Rights Management Services (AD RMS) cannot be installed by using the Server Manager command line.

Active Directory Rights Management Server

ADRMS-Server

 

Identity Federation Support

ADRMS-Identity

 

Application Server command identifiers

Command value

Notes

Application Server

Application-Server

If you install the WS-Atomic Transaction Support role service by using the Server Manager command line, by default, WS-Atomic Transaction Support is configured to use a self-signed certificate.

Application Server Foundation

AS-AppServer-Foundation

 

Web Server (IIS) Support

AS-Web-Support

 

COM+ Network Access

AS-Ent-Services

 

TCP Port Sharing

AS-TCP-Port-Sharing

 

Windows Process Activation Service Support

AS-WAS-Support

 

HTTP Activation

AS-HTTP-Activation

 

Message Queuing Activation

AS-MSMQ-Activation

 

TCP Activation

AS-TCP-Activation

 

Named Pipes Activation

AS-Named-Pipes

 

Distributed Transaction Support

AS-Dist-Transaction

 

Incoming Remote Transactions

AS-Incoming-Trans

 

Outgoing Remote Transactions

AS-Outgoing-Trans

 

WS-Atomic Transaction Support

AS-WS-Atomic

 

DHCP Server command identifiers

Command value

Notes

DHCP Server

DHCP

The DHCP Server role should be installed with default settings.

DNS Server command identifiers

Command value

Notes

DNS Server

DNS

None

Fax Server command identifiers

Command value

Notes

Fax Server

Fax

Fax Server should be installed with default settings.

File Services command identifiers

Command value

Notes

File Services

File-Services

You cannot install or remove the File Services container by using the Server Manager command line. You can install or remove the File Services container only by using the Server Manager user interface. Be aware that for this reason, there is no command ID available to represent the File Services container.

Because you can configure File Services settings after you install the role, you are not required to specify File Services settings in the Server Manager command-line answer file.

File Server

FS-Fileserver

 

Distributed File System (DFS)

FS-DFS

 

DFS Namespace

FS-DFS-Namespace

 

DFS Replication

FS-DFS-Replication

 

File Server Resource Manager

FS-Resource-Manager

 

Services for Network File System

FS-NFS-Services

 

Windows Search Service

FS-Search-Service

 

Windows Server 2003 File Services

FS-Win2003-Services

 

BranchCache for remote files

FS-BranchCache

 

Indexing Service

FS-Indexing-Service

 

Hyper-V™ command identifiers

Command value

Notes

Hyper-V™

Hyper-V

 

Network Policy and Access Services command identifiers

Command value

Notes

Network Policy and Access Services

NPAS

Because Network Policy and Access Services settings can be configured after you install the role, you are not required to specify Network Policy and Access Services settings in the command-line answer file.

Network Policy Server

NPAS-Policy-Server

 

NPAS Routing and Remote Access Services

NPAS-RRAS-Services

 

Remote Access Service

NPAS-RRAS

 

Routing

NPAS-Routing

 

Health Registration Authority

NPAS-Health

 

Host Credential Authorization Protocol

NPAS-Host-Cred

 

Print and Document Services command identifiers

Command value

Notes

Print and Document Services

Print-Services

During removal of this role in the Server Manager UI, you are prompted to delete instances of printers configured on the server. By default, these instances are preserved. This is the default behavior of command-line removal of the Print and Document Services role.

Print Server

Print-Server

 

Internet Printing

Print-Internet

 

LPD Service

Print-LPD-Service

 

Distributed Scan Server

Print-Scan-Server

 

Remote Desktop Services command identifiers

Command value

Notes

Remote Desktop Services

Remote-Desktop-Services

Because Remote Desktop Services settings can be configured after you install the role, you are not required to specify Remote Desktop Services settings in the command-line answer file.

Remote Desktop Server

RDS-RD-Server

 

RD Licensing

RDS-Licensing

 

RD Gateway

RDS-Gateway

 

RAD Web Access

RDS-Web-Access

 

RD Connection Broker

RDS-Connection-Broker

 

RD Virtualization

RDS-Virtualization

 

Web Server (IIS) command identifiers

Command value

Notes

Web Server (IIS)

Web-Server

None

Internet Information Services (Web Server)

Web-WebServer

 

Common HTTP Features

Web-Common-Http

 

Static Content

Web-Static-Content

 

Default Document

Web-Default-Doc

 

Directory Browsing

Web-Dir-Browsing

 

HTTP Errors

Web-Http-Errors

 

HTTP Redirection

Web-Http-Redirect

 

WebDAV Publishing

Web-DAV-Publishing

 

Application Development

Web-App-Dev

 

ASP.NET

Web-Asp-Net

 

.NET Extensibility

Web-Net-Ext

 

ASP

Web-ASP

 

CGI

Web-CGI

 

ISAPI Extensions

Web-ISAPI-Ext

 

ISAPI Filters

Web-ISAPI-Filter

 

Server Side Includes

Web-Includes

 

Health and Diagnostics

Web-Health

 

HTTP Logging

Web-Http-Logging

 

Logging Tools

Web-Log-Libraries

 

Request Monitor

Web-Request-Monitor

 

Tracing

Web-Http-Tracing

 

Custom Logging

Web-Custom-Logging

 

ODBC Logging

Web-ODBC-Logging

 

Security

Web-Security

 

Basic Authentication

Web-Basic-Auth

 

Windows Authentication

Web-Windows-Auth

 

Digest Authentication

Web-Digest-Auth

 

Client Certificate Mapping Authentication

Web-Client-Auth

 

IIS Client Certificate Mapping Authentication

Web-Cert-Auth

 

URL Authorization

Web-Url-Auth

 

Request Filtering

Web-Filtering

 

IP and Domain Restrictions

Web-IP-Security

 

Performance

Web-Performance

 

Static Content Compression

Web-Stat-Compression

 

Dynamic Content Compression

Web-Dyn-Compression

 

Management Tools

Web-Mgmt-Tools

 

IIS Management Console

Web-Mgmt-Console

 

IIS Management Scripts and Tools

Web-Scripting-Tools

 

Management Service

Web-Mgmt-Service

 

IIS 6 Management Compatibility

Web-Mgmt-Compat

 

IIS 6 Metabase Compatibility

Web-Metabase

 

IIS 6 WMI Compatibility

Web-WMI

 

IIS 6 Scripting Tools

Web-Lgcy-Scripting

 

IIS 6 Management Console

Web-Lgcy-Mgmt-Console

 

FTP Server

Web-Ftp-Server

 

FTP Service

Web-Ftp-Service

 

FTP Extensibility

Web-Ftp-Ext

 

Windows Deployment Services command identifiers

Command value

Notes

Windows Deployment Services

WDS

None

Deployment Server

WDS-Deployment

 

Transport Server

WDS-Transport

 

Windows Server Update Services command identifiers

Command value

Notes

Windows Server Update Services

OOB-WSUS

 

Feature command identifiers

Features

Command Value

Notes

Background Intelligent Transfer Service (BITS)

BITS

  • BITS Compact Server

BITS-LWDLServer

  • IIS Server Extension

BITS-IIS-Ext

BitLocker Drive Encryption

BitLocker

Windows BranchCache

BranchCache

Connection Manager Administration Kit

CMAK

Desktop Experience

Desktop-Experience

Direct Access Management Console

DAMC

Failover Clustering

Failover-Clustering

Group Policy Management

GPMC

Ink and Handwriting Services

Ink-Handwriting

  • Ink Support

IH-Ink-Support

  • Handwriting Recognition

IH-Handwriting

Internet Printing Client

Internet-Print-Client

Internet Storage Naming Server

ISNS

LPR Port Monitor

LPR-Port-Monitor

Message Queuing

MSMQ

  • Message Queuing Services

MSMQ-Services

  • Message Queuing Server

MSMQ-Server

  • Directory Service Integration

MSMQ-Directory

  • Message Queuing Triggers

MSMQ-Triggers

  • HTTP Support

MSMQ-HTTP-Support

  • Multicasting Support

MSMQ-Multicasting

  • Routing Service

MSMQ-Routing

  • Messaging Queuing DCOM Proxy

MSMQ-DCOM

Multipath I/O

Multipath-IO

Network Load Balancing

NLB

.NET Framework 3.5.1 Features

NET-Framework

Be aware that the command-line syntax for the .NET Framework 3.5.1 Features does not contain the "." character before NET.

  • .NET Framework 3.5.1

NET-Framework-Core

  • Windows Communication Foundation (WCF) Activation

NET-Win-CFAC

  • HTTP Activation

NET-HTTP-Activation

  • Non-HTTP Activation

NET-Non-HTTP-Activ

Peer Name Resolution Protocol

PNRP

Quality Windows Audio Video Experience

Qwave

Remote Assistance

Remote-Assistance

Remote Differential Compression

RDC

Remote Server Administration Tools

RSAT

  • Role administration tools

RSAT-Role-Tools

  • Active Directory Certificate Services Tools

RSAT-ADCS

  • Certification Authority Tools

RSAT-ADCS-Mgmt

  • Online Responder Tools

RSAT-Online-Responder

  • AD DS and AD LDS Tools

RSAT-AD-Tools

  • AD DS Tools

RSAT-ADDS

  • AD DS Snap-ins and Command-Line Tools

RSAT-ADDS-Tools

  • Active Directory Administrative Center

RSAT-AD-AdminCenter

  • Server for NIS Tools

RSAT-SNIS

  • Active Directory Lightweight Directory Services Tools

RSAT-ADLDS

  • Active Directory PowerShell Snap-in

RSAT-AD-PowerShell

  • Active Directory Rights Management Services (AD RMS) Tools

RSAT-RMS

  • DHCP Server Tools

RSAT-DHCP

  • DNS Server Tools

RSAT-DNS

  • Fax Server Tools

RSAT-Fax

  • File Services Tools

RSAT-File-Services

  • Distributed File System Tools

RSAT-DFS-Mgmt-Con

  • File Server Resource Manager Tools

RSAT-FSRM-Mgmt

  • Services for Network File System Tools

RSAT-NFS-Admin

  • Hyper-V Tools

RSAT-Hyper-V

  • Network Policy and Access Services Tools

RSAT-NPAS

  • Print and Document Services Tools

RSAT-Print-Services

  • Remote Desktop Services Tools

RSAT-RDS

  • Remote Desktop Server Tools

RSAT-RDS-RemoteApp

  • RD Gateway Tools

RSAT-RDS-Gateway

  • RD Licensing Tools

RSAT-RDS-Licensing

  • RD Connection Broker Tools

RSAT-TS-Session-Broker

  • Web Server (IIS) Tools

RSAT-Web-Server

  • Windows Deployment Services Tools

RSAT-WDS

Remote Server Administration Tools feature administration tools

RSAT-Feature-Tools

  • BitLocker Drive Encryption Administration Tools

RSAT-BitLocker

  • BitLocker Drive Encryption Tools

RSAT-Bitlocker-DriveEnc

  • BitLocker Recovery Password Viewer

RSAT-Bitlocker-RecPwd

  • BITS Server Extensions Tools

RSAT-BITS-Server

  • Failover Clustering Tools

RSAT-Clustering

  • Network Load Balancing Tools

RSAT-NLB

  • SMTP Server Tools

RSAT-SMTP

  • WINS Server Tools

RSAT-WINS

RPC over HTTP Proxy

RPC-over-HTTP-Proxy

Simple TCP/IP Services

Simple-TCPIP

SMTP Server

SMTP-Server

SNMP Services

SNMP-Services

  • SNMP Service

SNMP-Service

  • SNMP WMI Provider

SNMP-WMI-Provider

Storage Manager for SANs

Storage-Mgr-SANS

Subsystem for UNIX-based Applications

Subsystem-UNIX-Apps

Telnet Client

Telnet-Client

Telnet Server

Telnet-Server

TFTP Client

TFTP-Client

Windows Biometric Framework

Biometric-Framework

Windows Internal Database

Windows-Internal-DB

Windows PowerShell ISE

PowerShell-ISE

Windows Process Activation Service

WAS

  • Process Model

WAS-Process-Model

  • .NET Environment

WAS-NET-Environment

  • Configuration APIs

WAS-Config-APIs

Windows Server Backup Features

Backup-Features

  • Windows Server Backup

Backup

  • Command-line tools

Backup-Tools

  • Windows Server Backup Cmdlets

Backup-Cmdlets

Windows Server Migration Tools

Migration

Windows System Resource Manager

WSRM

Windows TIFF iFilter

TIFF-iFilter

WinRM IIS Extension

WinRM-IIS-Ext

WINS Server

WINS-Server

Wireless LAN Service

Wireless-Networking

XPS Viewer

XPS-Viewer

Comments are closed.




↑ Top