Windows CMD Commands

Windows CMD Commands

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 3


Conditionally perform a command.

IF will only parse numbers when one of (EQU, NEQ, LSS, LEQ, GTR, GEQ) is used.The == comparison operator always results in a string comparison. ERRORLEVEL There are two different methods of checking an...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 7

IPCONFIG – Windows CMD Command

Configure IP (Internet Protocol configuration)

If the Adapter name contains spaces, use quotes: “Adapter Name”Wildcard characters * and ? are allowed, see the examples below The default is to display only the IP...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 4

FOR /F – Windows CMD Command

Loop command: against a set of files – conditionally perform a command against each item.

FOR /F processing of a text file consists of reading the file, one line of text at a...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

XCOPY – Windows CMD Command

Copy files and/or directory trees to another folder. XCOPY is similar to the COPY command except that it has additional switches to specify both the source and destination in detail. While still included in...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 1

XCACLS.exe – Windows CMD Command

Display or modify Access Control Lists (ACLs) for files and folders. For Vista and greater use icacls.

FolderSpec is a permission applied to a folder. If FolderSpec is not specified then permission will apply to both files and folders.This...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 6

WUAUCLT.exe – Windows CMD Command

Windows Update Agent, download new Windows Update files.

WSUS uses a cookie on client computers to store computer group membership when client-side targeting is used. By default this cookie expires an hour after WSUS creates...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 11

WUSA.exe – Windows CMD Command

Windows Update Standalone Installer.

Examples: C:\> WUSA d:\934307\Windows6.0-KB934307-x86.msu /quiet C:\> WUSA D:\934307\Windows6.0-KB934307-x86.msu /quiet /norestart C:\> WUSA /uninstall /kb:934307 /quiet /norestart

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 0

WINRM – Windows CMD Command

Windows Remote Management Secure communication with local and remote computers using web services.

WinRM is the Microsoft implementation of WS-Management Protocol, a standard Simple Object Access Protocol (SOAP)-based, firewall-friendly protocol that allows hardware and...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

WPR.exe – Windows CMD Command

Windows Performance Recorder Record system events for analysis with Windows Performance Analyzer (WPA)WPR is part of the Windows Assessment and Deployment Kit (Windows ADK) for Windows 10 Syntax      WPR options… Key   -help          – Provide command line help information.  ...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

Wpeutil.exe – Windows CMD Command

Run commands during a Windows Preinstallation Environment (WinPE) session.

A common method to initiate an unattended Setup is to boot the computer using Windows PE, and then launch Setup with an answer file...