Wednesday, November 26, 2014

HowTo: Join to a domain using WMIC

c:\> wmic.exe /interactive:off ComputerSystem Where name="MACHINE-NAME" call JoinDomainOrWorkgroup FJoinOptions=3 Name="DOMAIN-NAME" UserName="DOMAIN-NAME\user01" Password="Password01"

Copied this from the internet elsewhere forgot to get the URL to give credits.

No comments: