Archive for December, 2012

Joining a Computer to the Domain with WScript/VBS (paramaters) and logging

Joining a Computer to the Domain with WScript (paramaters) Paramater 1 = Domain (FQDN) Paramater 2 = User Paramater 3 = Password Paramater 4 = OU / Organization Unit On Error Resume Next ‘ Get a Temp Folder for Log file Set objShell = CreateObject(“Wscript.Shell”) TempDir = objShell.ExpandEnvironmentStrings(“%temp%”) Set objShell = nothing ‘ Set these […]

1 Comment