Get public IP from command line
To get your machines public IP from the command line, run the following command: nslookup myip.opendns.com resolver1.opendns.com »
To get your machines public IP from the command line, run the following command: nslookup myip.opendns.com resolver1.opendns.com »
In order to move a service from a shared SVCHOST process into its own SVCHOST process: Check the current SVCHOST processes, and the services assigned: tasklist »
The following command will return the certificate chain from a website using OpenSSL: openssl.exe s_client -connect www.google.com:443 -prexit -showcerts »
In order to remotely enable PS remoting we can leverage PSEXEC (http://live.sysinternals.com.au/psexec.exe). psexec \\[computer name] -u [admin account name] -p »
In order to connect to a remote Windows server via CIFS using a different user account, enter the following command in a Command Prompt (CMD) window: »
Open a telnet session: From a command prompt, type telnet, and then press ENTER. Type set local_echo on a computer running Microsoft Windows® 2000 Server »
The following command will create a dummy file in the specified path with the specified size (in bytes): FSUTIL FILE CREATENEW <path\filename> < »
To show non present devices in device manager, open the command prompt and type the following: set DEVMGR_SHOW_NONPRESENTDEVICES=1 devmgmt.msc »