Windows Server 2012 R2: 구성 설정 내보내기(역할 및 기능 추가 시 백업한 XML 파일)

역할 및 기능 추가 마법사에서 지정한 옵션을 그대로 저장하는 방법! ‘구성 설정 내보내기’를 활용해보자.

clip_image001

‘역할 및 기능 추가’ 중 실패를 했다. (해당 문제는 http://archmond.net/?p=2773 를 통해 해결 방법 확인 가능) 일일이 어렵게 체크했던 ‘구성 설정을 내보내기’하여 XML 파일로 저장했는데,

clip_image002

이를 불러와서 쉽게 설치하는 방법을 알아보자.

  • Install the same Server Role(s) and/or Feature(s) on another Windows Server by copying the file over to a (shared) file location and executing the following PowerShell one-liner on the console of the server:
    Install-WindowsFeature -ConfigurationFilePath D:\ConfigurationFiles\DeploymentConfigTemplate.xml
  • Install the same Server Role(s) and/or Feature(s) on (a group of) remote server(s) with the DeploymentConfigTemplate.xml in a local file location , using the following PowerShell one-liner:
    Install-WindowsFeature -ConfigurationFilePath D:\ConfigurationFiles\ADCSConfigFile.xml -ComputerName $servername
    출처: <dirteam.com>

원격 서버에 대해 실행하거나, 로컬에 적용할 수 있는 것 같다.

clip_image003

파워셸 명령으로 처리 가능하네!(구성 설정 XML 파일을 불러옴)

clip_image004

서버 관리자에서 새로고침 해보니 구성 파일을 만들 시점에 체크했던 기능(IIS 등)이 올라왔다. 성공 미소

이것도 살펴보세요!

메인 컴퓨터 윈도우 재설치: 프로그램 설치용 winget 스크립트, 그 외 프로그램들(기록용)

마이크로소프트365https://office.com Hyper-V 설치 via. https://learn.microsoft.com/ko-kr/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 윈겟(Winget) 프로그램 자동 설치 스크립트 …

3 댓글

  1. 안녕하세요.
    포스팅 잘 보고 있습니다.
    Hyper-v에서 쓰시는 OS는 정품을 사용하시는 건가요? 아니면 평가판?
    저도 Hyper-V를 공부해 보려고 하는데, 어떤 식으로 쓰시는지 궁금하네요.
    감사합니다.

crimsonbeat에 답글 남기기 응답 취소

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다