2
2

More than 5 years have passed since last update.

EC2 Windowsでローカルのドメインに参加

Last updated at Posted at 2015-12-15
  • VPCにDHCP Options Setを作成
    • Domain Name, Domain name serversを設定
  • VPCに適用
  • EC2起動時、User Dataに下記を設定
<powershell>
$password = ConvertTo-SecureString -AsPlainText -Force "Password"
$credential = New-Object System.Management.Automation.PSCredential "Administrator",$password
Add-Computer -DomainName mydomain.org -OUPath "OU=myOU,DC=mydomain,DC=org" -Credential $credential
</powershell>

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2