Windows Command Line Goodies
Jump to navigation
Jump to search
Windows Command Line Goodies
**Ping with varying payload This works on Mac Ping -s 6000 ipaddress This works on windows ping -i 6000 ipaddress ***See list of computers in your workgroup Windows: net view find out MAC address Windows and Mac arp -a sc command (command prompt)sililar to the services.svc (windows run) nslookup www.website.com // this will give you the ipaddress **** mapping drives at the command prompt net use driveletter: \\server-name\sharename net use driveletter: /deletenet use /? for options you can create a batch file to map drives also in notepad net use x: /delete # delete mapped drive net use x: \\servername\share # will map drive save file with the .bat extension, then you can doubble click on it to map the drive
Changing the color of the command prompt
color help
a bunch of color codes will appear
color followed by the color code: color 02
Create a Wifi Hotspot
netsh wlan set hostednetwork mode=allow ssid=HotSpotName key=password
To Start:
netsh wlan start hostednetwork
Pipe output from the command line to the clipboard
ipconfig | clip
Get a list of installed programs
wmic product get name
Uninstall a program from the command line
wmic product where "name like iTunes" call uninstall /noninteractive