Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 🔵 Display Wireless network password in clear text
- netsh wlan show profile name=MyWiFiNetwork key=clear
- 🔵 Extract a list of Domain Admin users in the organisation
- net group "Domain Admins" /Domain
- 🔵 Get a list of all users in the domain
- net user /Domain
- 🔵 Get computers IP address
- ipconfig|find "IPv4"
- 🔵 In addition we can use another trick and push this information straight into the clipboard by piping the output of the "find" command into "clip"
- ipconfig|find "IPv4"|clip
- 🔵 Dispay useful Wireless Network Connection information (WLAN)
- netsh wlan show interfaces
- 🔵 We can also extract information about the wired interfaces - just replace "wlan" with "lan" in the command: netsh lan show interfaces
- 🔵 Display WiFi SSID
- netsh wlan show interfaces|findstr "[^B]SSID"
- 🔵 Get a MAC address
- The netsh command that we used above to show interfaces info can also be used to get the MAC addresses for each interface (disguised as a "Physical Address" in the output). But there is also a simpler command to do this:
- 🔵 It will display MAC addresses of all network interfaces that are present in the system.
- getmac
- 🔵 Display system information
- systeminfo /FO CSV > c:\temp\sysinfo.csv
- 🔵 Using environment variables
- echo %OS%
- echo %PROCESSOR_ARCHITECTURE%
- 🔵 Energy report (Officially: Power Efficiency Diagnostics Report)
- powercfg energy -output c:\temp\energy-report.html
- 🔵 Bring up a User Accounts dialog
- control userpasswords2
- 🔵 User, Group and Privileges Information
- whoami /all
- 🔵 WMI Get Motherboard manufacturer
- for /f "tokens=9 delims= " %F in ('wmic baseboard^|more +1') do @echo %~F
- 🔵 Get physical memory size
- wmic computersystem get TotalPhysicalMemory | more +1
- 🔵 We can also get max memory capacity (commit charge).We see that we have roughly 32GB of RAM available - this includes the 16GB of physical RAM plus the size of the swap file.
- wmic memphysical get MaxCapacity | more +1
- 🔵 Get version of the Adobe Acrobat Reader installed on your computer
- wmic product get name,version | find "Adobe Acrobat Reader"
- RWM Useful http://blog.kulshitsky.com/2017/02/useful-windows-command-line-tricks.html?m=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement