Windows Server 2012 R2: 쉽게 도메인 가입하기

http://www.itnotes.eu/?p=1998 사이트 참고. 이것저것 짜맞춘 스크립트

먼저 DNS에 DC 2대를 추가

clip_image001[9]

$ipv4dns1 = “192.168.0.20”;
$ipv4dns2 = “192.168.0.21”;
Get-DnsClientServerAddress -InterfaceAlias 이더넷 | Set-DnsClientServerAddress -ResetServerAddresses
Set-DNSClientServerAddress -InterfaceAlias 이더넷 -ServerAddresses (“$ipv4dns1″,”$ipv4dns2”)

(영문 버전이라면 InterfaceAlias에 Ethernet 을 입력)

clip_image002[7]

잘 된다. (관리자 권한이 필요)

———————————————–

컴퓨터 이름 변경 후 재시작

clip_image003[7]

Rename-Computer 컴퓨터이름 –restart

clip_image004[7]

컴퓨터 이름 변경 후 재시작

——————————————————-

도메인 가입

$domain = “도메인명.kr”
$password = “비밀번호” | ConvertTo-SecureString -asPlainText -Force
$username = “$domain\계정명”
$credential = New-Object System.Management.Automation.PSCredential($username,$password)
Add-Computer -DomainName $domain -Credential $credential

실제 사용하는 모습

clip_image006[7]

도메인 로그인

이것도 살펴보세요!

windows pictograph on keyboard

버려둔 인텔 맥, 부트캠프로 윈도우 11 설치하기, TPM 검사 우회 방법

윈도우 10 지원이 끝나면서 인텔 맥에 부트캠프로 윈도우를 깔아 쓰던 분들도 윈도우 11 설치를 시도하고 …

답글 남기기

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