echo off
cd \
c:
md printer
cd printer
WMIC PRINTER LIST STATUS >> %computername%.txt
copy *.txt \\serverip\\share
wmic /node:@servers.txt rdtoggle get allowtsconnections,servername
wmic /node:@servers.txt nicconfig get DNSHostName,IPAddress