O'Reilly logo

Active Directory® Administrator's Pocket Consultant by William Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SERVERMANAGERCMD

Installs and removes roles, role services, and features. Also lists installed roles, role services, and features.

Syntax for queries:

servermanagercmd -query [QueryFile.xml] [-logPath LogFile.txt]

servermanagercmd -version

Syntax for installations:

servermanagercmd -install Component [-resultPath ResultFile.xml
[-restart] | [-whatif]] [-logPath LogFile.txt] [-allSubFeatures]

Syntax for removals:

servermanagercmd -remove Component [-resultPath ResultFile.xml [-restart]
| [-whatif]] [-logPath LogFile.txt]

Syntax for installations or removals using an answer file:

servermanagercmd -inputPath AnswerFile.xml
[-resultPath ResultFile.xml
[-restart] | [-whatif]] [-logPath LogFile.txt]

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required