Handy command for Windows
=> shutdown -r -t 60 -c “Rebooting computer”
Reboot in 60 seconds, with a comment to the popup
=> shutdown -a
To abort shutdown.
=> NET VIEW
This command’s output lists each computer on the network, first by network name and second by description.
=> GETMAC
Quickly and diligently, your PC’s MAC address appears.
=> Start.
Open explorer from command prompt.
=> CACLS
Displays or modifies access control lists (ACLs) of files.
=> SET L
To view your logon server name.
=> netdom query /domain:dpetri fsmo
=> dsquery server -hasfsmo schema
To view the FSMO roles in a domain.
=> Net start
View the services up and running
=> F7 (In DOS command prompt)
For a history of commands.
=> net statistics workstation / net statistics server
One way of finding out how long the box has been up for.
=> WMIC OS get /all /format:htable
Find whatever you want from remote machine, local machine… multiple machines.
Nicely filled out HTML page with all data related to OS.
=> wmic bios get serialnumber
Displays the Serial number for the current machine.
=> SET
Displays, sets, or removes Windows environment variables. Type SET without parameters to display the current environment variables. (Ex: Used to find the number of processor and type).
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-19388546-1’]);
_gaq.push([‘_trackPageview’]);
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();