I'm trying to generate a report with the following information:
computer, username, Operating System, Architecture (i.e. 32-bit or 64-bit).
Can anyone help? I have managed to generate a user to machine report using:
echo Checking Connection ...
ping %1 -n 1 | findstr "TTL=" >nul && GOTO MAIN || GOTO ERROR
echo Device Unreachable
wmic /node: "%1" computersystem get username
I put this in a batch file called who.bat and run who.bat 'computername'. But that only returns one computer at a time - which would take FORever. Any ideas? I'd