A little stuck on something that should be quite simple.
I'm trying to retrieve the USERDOMAIN variable settings from a remote machine using a batch file. I can retrieve it locally by just typing the following:
echo %USERDOMAIN%
I know it can be done in VB but the rest of the script I have is using batch scripting and works except this bit.....
Anyone ????