Skip to content

Instantly share code, notes, and snippets.

@hoangitk
Last active November 11, 2024 03:10
Show Gist options
  • Save hoangitk/15a1ab1d0489f32ac2c8e3f9790088b4 to your computer and use it in GitHub Desktop.
Save hoangitk/15a1ab1d0489f32ac2c8e3f9790088b4 to your computer and use it in GitHub Desktop.
[Cmd Collection] #cmd #collection #network #admin

CMD Collection

Networks

  • netsh lan show interfaces
  • netsh wlan show interfaces
  • route print
  • Turn off firewall: > netsh advfirewall set allprofiles state off

MSI

  • msiexec /i c:\path\to\package.msi /quiet /qn /norestart

Start a application without cmd windows

start "" "path\to\app.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment