Windows Server 2008 에서 처음 소개된 Servermanagercmd 혹은 ocsetup 명령어가 없어질지도 모른다네요.

하지만, 이를 대신하는 Dism 이란 명령이 새로 생겼으니, 이제 Dism 을 익혀야 하겠군요.
Windows 7 및 Windows Server 2008 R2 에서 Dism 을 만날 수 있습니다.

이 툴의 목적은 Windows 이미지를 열거, 설치, 삭제, 구성, 기능 및 패키지 업데이트를 하기 위한 명령어 입니다.
이툴의 대상이 되는 Windows 이미지는 온라인/오프라인 모두 제공하기 때문에 대표적인 오프라인 이미지인 WIM 파일에 대한 작업이나, 현재 구동중인 Windows 에나 모두 적용할 수 있습니다.
즉, 현재 구동하고 있는 서버에 Roles 나 Features 정보를 확인하거나, 설치가 가능합니다
(IIS Roles 를 확인한 후 IIS-WebServerRole 을 설치)

C:\Windows\system32>dism /online /get-features | findstr "IIS"
Feature Name : IIS-WebServerRole
Feature Name : IIS-WebServer
Feature Name : IIS-CommonHttpFeatures
Feature Name : IIS-HttpErrors
Feature Name : IIS-HttpRedirect
Feature Name : IIS-ApplicationDevelopment
Feature Name : IIS-NetFxExtensibility
Feature Name : IIS-HealthAndDiagnostics
Feature Name : IIS-HttpLogging

C:\Windows\system32>dism /online /enable-feature /featurename:IIS-WebServerRole

Deployment Image Servicing and Management tool
Version: 6.1.7100.0

Image Version: 6.1.7100.0

Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.

Posted by nimsgern