Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
How to Get the Printers List for all Computers of a Domain
I have written a batch file. Push that through GPO. You will get the list in \serverip\share
echo off
cd \
c:
md printer
cd printer
WMIC PRINTER LIST STATUS >> %computername%.txt
copy *.txt \\serverip\\share
There is a thread in a migration forum so I thought it might help others.
Checking RDP is enabled or not for multiple computers.
wmic /node:@servers.txt rdtoggle get allowtsconnections,servername
Getting IP address for Multiple Computers.
wmic /node:@servers.txt nicconfig get DNSHostName,IPAddress