2013-02-25 17:17:42 +04:00

10 lines
241 B
Plaintext

call Import-Module Name="CoreFunctions"
call Set-NetworkAdapterConfiguration FirstAvailable=true , DNSServer="10.0.102.2"
call Join-Domain DomainName="acme.local" , Username="Administrator" , Password="P@ssw0rd123"
reboot 1
out out.json