Share via


ServerManagerCMD is deprecated

Ok. I'll be honest. I wasn't aware of this one.

I was bulilding out a new Windows Server 2008 R2 lab machine today. Instead of using an answer file like I normally do, I decided to enable the ADDS Role post-install using servermanagercmd.

I was surprised to find the following statement staring at me in the Command Prompt:

"Servermanagercmd.exe is deprecated, and is not guaranteed to be supported in future releases of Windows. We recommend that you use the Windows PowerShell cmdlets that are available for Server Manager."

So, I did a quick Bing search, and found that the cmdlet I should be using is Add-WindowsFeature.

More info can be found at https://technet.microsoft.com/en-us/library/cc731774.aspx.

Have a great day!

Clint