User Tools

Site Tools


informatique:windows:cmd

This is an old revision of the document!


Commandes diverses

Commandes relatives au réseau

Ping via une passerelle spécifique

ping -k PASSERELLE IP_A_JOINDRE

Par exemple :

ping -k 192.168.1.1 fr.wikipedia.org

Ping via une interface spécifique

ping IP_A_JOINDRE -S ADDR_INTERFACE_SOURCE

Par exemple :

ping fr.wikipedia.org -S 192.168.1.86

Reset couche IP et winsock

netsh int ip reset
netsh winsock reset

Mettre en veille Windows

Verrouiller :

Rundll32.exe User32.dll,LockWorkStation

Veille prolongée :

Rundll32.exe User32.dll,LockWorkStation

Veille simple : Il faut la veille prolongée soit désactivée :

powercfg -hibernate off
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
informatique/windows/cmd.1669301404.txt.gz · Last modified: 2022/11/24 14:50 by yahiko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki