J
Jeff T
Hello- I tried the Windows Server Scripting group and haven't recived a
reply, I hope someone can help me here.
I'm trying to log success and failures when I mass join computers to
my domain.
The command below works but doesn't log the computer name.
for /f %%a in (stations.txt) do (
netdom join /d:FQDN %%a /uo:Local_Account /po:Local_Password
/udA_Account /pdA_Password /reboot > join.log)
When I add %%a after /reboot and before > I receive the following
message in the output.log:
The parameter a was unexpected.
The parameter is incorrect.
for /f %%a in (stations.txt) do (
netdom join /d:FQDN %%a /uo:Local_Account /po:Local_Password
/udA_Account /pdA_Password /reboot %%a > join.log)
How can I log if the command was successful or failded against the
system?
Thanks!
reply, I hope someone can help me here.
I'm trying to log success and failures when I mass join computers to
my domain.
The command below works but doesn't log the computer name.
for /f %%a in (stations.txt) do (
netdom join /d:FQDN %%a /uo:Local_Account /po:Local_Password
/udA_Account /pdA_Password /reboot > join.log)
When I add %%a after /reboot and before > I receive the following
message in the output.log:
The parameter a was unexpected.
The parameter is incorrect.
for /f %%a in (stations.txt) do (
netdom join /d:FQDN %%a /uo:Local_Account /po:Local_Password
/udA_Account /pdA_Password /reboot %%a > join.log)
How can I log if the command was successful or failded against the
system?
Thanks!