(continue) some of my favorites 'cocktails'.
copy, paste, bam! (enter)Note: add these 3 lines (add the beginning of each pack) in all cases that might take long time for windows to respond:
#!cmd
#maxlength=50000
#timeout=90000
----------------- Obtain manufacturer, model, Serial, SysOp, memory modules info -----------------
wmic csproduct get vendor,name,identifyingnumber
wmic cpu get Name
wmic os get Name
wmic os get osarchitecture
wmic memorychip get capacity
----------------- List printers and ports (include ip if attached to it)-----------------
wmic printer get DeviceID, DriverName, PortName
----------------- List of printers, and what is the DEFAULT ? (TRUE) -----------------
wmic printer get name,default
----------------- Look at services that are set to start automatically ------------------
wmic SERVICE WHERE StartMode="Auto" GET Name, State
----------------- Find stuff that starts on boot ------------------
wmic STARTUP GET Caption, Command, User
-----------------Get Mac Address ------------------
wmic nic get macaddress
----------------- Update static IP address ------------------
wmic nicconfig where index=9 call enablestatic("192.168.16.4"), ("255.255.255.0")
----------------- Enable DHCP ------------------
wmic nicconfig where index=9 call enabledhcp
----------------- Terminate an Application ------------------
wmic process where name="calc.exe" call terminate
----------------- Total Hard Drive DISCOS Space Check ------------------
wmic LOGICALDISK LIST BRIEF
----------------- Get Startup List ------------------
wmic startup list full
(I hate msn at startup dancing like bunch of monkeys) bam!
======================= Google Home Page en IExplorer
REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /V "Start Page" /D "http://www.google.com/" /F

Edited by user Monday, January 23, 2017 10:16:05 PM(UTC)
| Reason: Not specified