Windows CMD command line


 

 
 

 
 

 
 

 
 

 
 

 

WINDOWS POWER SHELL COMMANDS

There are abbreviated below and they must be remembered and worked on also so that you must be familiar how they work.

 

 

   ADmodcmd Active Directory Bulk Modify
   ASSOC    Change file extension associations•
   AT       Schedule a command to run at a specific time
   BCDBOOT  Create or repair a system partition
   BITSADMIN Background Intelligent Transfer Service
   BROWSTAT Get domain, browser and PDC info
c
   CALL     Call one batch program from another•
   CERTUTIL Utility for certification authority (CA) files and services
   CHANGE   Change Terminal Server Session properties
   CHKNTFS  Check the NTFS file system
   CIPHER   Encrypt or Decrypt files/folders
   CLIP     Copy STDIN to the Windows clipboard
   CMD      Start a new CMD shell
   COLOR    Change colors of the CMD window•
   COMPACT  Compress files or folders on an NTFS partition
   CONVERT  Convert a FAT drive to NTFS
   Coreinfo Show the mapping between logical & physical processors
   CSVDE    Import or Export Active Directory data 
d
   DEFRAG   Defragment hard drive
   DELPROF  Delete user profiles
   DevCon   Device Manager Command Line Utility 
   DIRUSE   Display disk usage
   DISKSHADOW Volume Shadow Copy Service
   DOSKEY   Edit command line, recall commands, and create macros
   DSACLs   Active Directory ACLs
   user computer) 
   user computer)
   user computer)
   user computer)
   DSRM     Remove items from Active Directory
e
   ENDLOCAL End localisation of environment changes in a batch file•
   EVENTCREATE Add a message to the Windows event log
   EXPAND   Uncompress CAB files
   FC       Compare two files
   FINDSTR  Search for strings in files
   FOR /F   Loop command: against the results of another command•
   FORFILES Batch process multiple files
   FREEDISK Check free disk space
   FTP      File Transfer Protocol
   GETMAC   Display the Media Access Control (MAC) address
   GPRESULT Display Resultant Set of Policy information
   HELP     Online Help
   iCACLS   Change file and folder permissions
   IF       Conditionally perform a command•
   IPCONFIG Configure IP
   LABEL    Edit a disk label
   LOGMAN   Manage Performance Monitor logs
   LOGTIME  Log the date and time in a file
m
   MAPISEND Send email from the command line
   MEM      Display memory usage
   MKLINK   Create a symbolic link (linkd) •
   MORE     Display output, one screen at a time
   MOVE     Move files from one folder to another•
   MSG      Send a message
   MSINFO32 System Information
   NET      Manage network resources
   NETSH    Configure Network Interfaces, Windows Firewall & Remote access
   NETSTAT  Display networking statistics (TCP/IP)
   NLSINFO  Display NLTEST   Network Location Test (AD)
   NSLOOKUP Name server lookup
   NTDSUtil Active Directory Domain Services management
   NVSPBIND Modify network bindings
o
   PATH     Display or set a search path for executable files•
   PAUSE    Suspend processing of a batch file and display a message•
   PERFMON  Performance Monitor
   POPD     Return to a previous directory saved by PUSHD•
   POWERCFG Configure power settings
   PRINTBRM Print queue Backup/Recovery
   PRNMNGR  Add, delete, list printers and printer connections
   PROMPT   Change the command prompt•
   PsFile     Show files opened remotely
   PsInfo     List information about a system
   PsList     List detailed information about processes
   PsLogList  Event log records
   PsPing     Measure network performance
   PsShutdown Shutdown or reboot a computer
   PUSHD    Save and then change the current directory•
q
   Query Process / QPROCESS  Display processes
   Query TermServer /QAppSrv List all servers (TS/Remote Desktop)
   RASDIAL  Manage RAS connections
   RECOVER  Recover a damaged file from a defective disk
   REGEDIT  Import or export registry settings
   REGINI   Change Registry Permissions
   REN      Rename a file or files•
   Reset Session  Delete a Remote Desktop Session
   RMTSHARE Share a folder or a printer
   ROUTE    Manipulate network routing tables
   Start | RUN commands
   RUNDLL32 Run a DLL command (add/remove print connections)

s
   SCHTASKS Schedule a command to run at a specific time
   SETLOCAL Control the visibility of environment variables•
   SETX     Set environment variables
   SHARE    List or edit a file share or print share
   SHIFT    Shift the position of batch file parameters•
   SHUTDOWN Shutdown the computer
   SLMGR    Software Licensing Management (Vista/2008)
   START    Start a program, command or batch file•
   SUBINACL Edit file and folder Permissions, Ownership and Domain
   SYSMON   Monitor and log system activity to the Windows event log
   TAKEOWN  Take ownership of a file
   TASKKILL End a running process
   TIME     Display or set the system time•
   TITLE    Set the window title for a CMD.EXE session•
   TOUCH    Change file timestamps    
   TSDISCON Disconnect a Remote Desktop Session
   TSSHUTDN Remotely shut down or reboot a terminal server
   TypePerf Write performance data to a log file
   VER      Display version information•
   VOL      Display a disk label•
w
   WAITFOR  Wait for or send a signal
   WHERE    Locate and display files in a directory tree
   WINDIFF  Compare the contents of two files or sets of files
   WINRS    Windows Remote Shell
   WUAUCLT  Windows Update
x
   XCOPY    Copy files and folders
   ::       Comment / Remark•