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