@echo off if exist C:\dell\%computername%.csv del C:\dell\%computername%.csv set outputfile="C:\dell\%computername%.csv" hostname>>%outputfile% wmic csproduct get name>>%outputfile% wmic bios get serialnumber>>%outputfile% wmic diskdrive get model>>%outputfile% wmic path win32_physicalmedia get SerialNumber>>%outputfile% goto :eof
|Amend script to comb for folders with access for Everyone||3||57|
|I'd like to use pstools to copy a .lnk file from a network share to a local folder on each workstation's desktop.||6||59|
|Map drive to different targets depending on localhost name||4||57|
|call multiple sqlcmd's within one bat file - with logging||9||49|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
20 Experts available now in Live!