Commandes utiles en ligne de commande

cmdlinelogo

Des commandes parfois utiles et souvent très utiles en ligne de commande

  • && – Command Chaining – Chainer les commandes
  • %SYSTEMROOT%\System32\rcimlby.exe -LaunchRA – Remote Assistance (Windows XP)
  • appwiz.cpl – Programmes et Fonctionnalités (Aussi connu comme « Ajout suppression de programmes »)
  • appwiz.cpl @,2 – Pour activer (ou désactiver) les fonctionnalités de Windows (Ajout/Suppression composants Windows)
  • arp – Affiche et modifie les tables de traduction d’adresses IP en adresses physiques utilisées par le protocole de résolution d’adresses ARP.
  • at – Microsoft déconseille d’utiliser la commande « at » mais utilisez plutôt schtasks.exe
  • bootsect.exe – Updates the master boot code for hard disk partitions to switch between BOOTMGR and NTLDR
  • cacls – Change Access Control List (ACL) est une commande obsolète. Utilisez icacls
  • calc – La calculatrice
  • chkdsk – Check/Fix la surface du disque dur.
  • cipher – Affiche ou modifie le chiffrement des répert. [fichiers] dans les partitions NTFS.
  • cleanmgr.exe – Disk Cleanup
  • clip – Redirige la sortie des outils de ligne de commande vers le Presse-Papiers.
  • cls – Efface l’écran
  • cmd /k – Démarre une nouvelle instance de l’interpréteur de commandes de Windows
  • color – Change les couleurs par défaut du premier plan et de l’arrière-plan de la console.
  • compmgmt.msc – Computer Management ou gestion de l’ordinateur
  • control.exe /name Microsoft.NetworkAndSharingCenter – Pour lancer le « Centre réseau et Partage »
  • control keyboard – Keyboard Properties – Lance les propriétés du clavier
  • control mouse(or main.cpl) – Mouse Properties
  • control sysdm.cpl,@0,3 – Advanced Tab of the System Properties dialog
  • control userpasswords2 – Opens the classic User Accounts dialog
  • desk.cpl – opens the display properties
  • devmgmt.msc – Device Manager
  • diskmgmt.msc – Disk Management
  • diskpart – Disk management à partir de la ligne de commande
  • dsa.msc – Opens active directory users and computers
  • dsquery – Finds any objects in the directory according to criteria
  • dxdiag – Utilitaire de diagnostique DirectX
  • eventvwr – Lecteur des journaux et évènements Windows. L’utilisation de CMTrace inclus System Center 2012r2 Configuration Manager Toolkit
  • explorer . – Open explorer with the current folder selected.
  • explorer /e, . – Open explorer, with folder tree, with current folder selected.
  • F7 – View command history
  • find – Searches for a text string in a file or files
  • findstr – Find a string in a file
  • firewall.cpl – Opens the Windows Firewall settings
  • fsmgmt.msc – Shared Folders
  • fsutil – Perform tasks related to FAT and NTFS file systems
  • ftp – Transfers files to and from a computer running an FTP server service
  • getmac – Affiche la MAC adresse (ou les MAC adresses) de vôtre(vos) carte(s) réseau
  • gpedit.msc – Group Policy Editor
  • gpresult – Displays the Resultant Set of Policy (RSoP) information for a target user and computer
  • httpcfg.exe – HTTP Configuration Utility
  • iisreset – Pour redémarrerwmic /? IIS
  • InetMgr.exe – Internet Information Services (IIS) Manager 7
  • InetMgr6.exe – Internet Information Services (IIS) Manager 6
  • intl.cpl – Regional and Language Options
  • ipconfig – Internet protocol configuration
  • lusrmgr.msc – Local Users and Groups Administrator
  • msconfig – System Configuration
  • notepad – Notepad (ou blocnote)
  • mmsys.cpl – Sound/Recording/Playback properties
  • mode – Configure system devices
  • more – Displays one screen of output at a time
  • mrt – Microsoft Windows Malicious Software Removal Tool
  • mstsc.exe – Remote Desktop Connection
  • nbstat – displays protocol statistics and current TCP/IP connections using NBT
  • ncpa.cpl – Network Connections
  • netsh – Display or modify the network configuration of a computer that is currently running
  • netstat – Network Statistics
  • net statistics – Pour connaitre le up time de la machine
  • net stop – Arrêter un service.
  • net use – Connects a computer to or disconnects a computer from a shared resource, displays information about computer connections, or mounts a local share with different privileges (documentation)
  • odbcad32.exe – Adiministre les sources ODBC
  • pathping – A traceroute that collects detailed packet loss stats
  • perfmon – Opens Reliability and Performance Monitor
  • ping – Determine whether a remote computer is accessible over the network
  • powercfg.cpl – Power management control panel applet
  • qfecheck – Shows installed Hotfixes applied to the server/workstation.
  • quser – Display information about user sessions on a terminal server
  • qwinsta – See disconnected remote desktop sessions
  • reg.exe – Console Registry Tool for Windows
  • regedit – Registry Editor
  • rasdial – Connects to a VPN or a dialup network
  • robocopy – Backup/Restore/Copy large amounts of files reliably
  • rsop.msc – Resultant Set of Policy (shows the combined effect of all group policies active on the current system/login)
  • runas – Run specific tools and programs with different permissions than the user’s current logon provides
  • sc – Manage anything you want to do with services.
  • schtasks – Enables an administrator to create, delete, query, change, run and end scheduled tasks on a local or remote system.
  • secpol.msc – Local Security Settings
  • services.msc – Services control panel
  • set – Displays, sets, or removes cmd.exe environment variables.
  • set DIRCMD – Preset dir parameter in cmd.exe
  • start – Starts a separate window to run a specified program or command
  • start. – opens the current directory in the Windows Explorer.
  • shutdown.exe – Shutdown or Reboot a local/remote machine
  • subst.exe – Associe un chemin à une lettre de lecteur ou affiche la liste des lecteurs virtuels en cours.
  • systeminfo – Cet outil affiche les informations de configuration du système
    d’exploitation pour un ordinateur local ou distant, y compris les niveaux de Service Pack.
  • taskkill – terminate tasks by process id (PID) or image name
  • tasklist.exe – List Processes on local or a remote machine
  • taskmgr.exe – Lance le Task Manager
  • telephon.cpl – Telephone and Modem properties
  • timedate.cpl – Date and Time
  • title – Définit le titre de la fenêtre pour une fenêtre DOS.
  • tracert – Trace route
  • whoami /all – Display Current User/Group/Privilege Information
  • wmic – Windows Management Instrumentation Command-line. Son usage est déconseillé cmd001Capture
  • winver.exe – Affiche la version de Windows cmd002Capture
  • wscui.cpl – Windows Security Center
  • wuauclt.exe – Windows Update AutoUpdate Client
Publicité
Cet article, publié dans déploiement, Deploiement, Deployment, Powershel, PowerShell, scripts, Tips, Windows 10, Windows 7, est tagué , , , , , , . Ajoutez ce permalien à vos favoris.

Votre commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l’aide de votre compte WordPress.com. Déconnexion /  Changer )

Photo Facebook

Vous commentez à l’aide de votre compte Facebook. Déconnexion /  Changer )

Connexion à %s