Commands
Commands
z Common tasks
z Useful tools
z Command-line resources
Common tasks
For details about completing common administrative tasks, see the following information on the
Microsoft Web site:
Useful tools
This section describes the Microsoft Web site downloads and tools associated with Windows
Server 2008 that relate to the command line.
No Windows Server 2008 Microsoft Management Console (MMC) snap-ins related to the command line
were available when this documentation was last updated. You can use snap-ins and the command line
to perform similar tasks.
Downloads
For downloads associated with the command line, go to the Microsoft TechNet Script Center
(http://go.microsoft.com/fwlink/?LinkId=63080) for scripts and tools to assist with automation.
Command-line resources
For command-line reference information, see the following:
For more information about a specific command, see the following Command Reference topics on the
Microsoft Web site:
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 2 of 10
z Adprep
z Append
z Arp
z Assoc
z At
z Attrib
z Auditpol
z Autochk
z Autoconv
z Autofmt
z BCDBoot
z BCDEdit
z Bitsadmin
z Bootcfg
z Break
z Cacls
z Call
z Cd
z Certreq
z Certutil
z Change
z Chcp
z Chdir
z Chglogon
z Chgport
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 3 of 10
z Chguser
z Chkdsk
z Chkntfs
z Choice
z Cipher
z Clip
z Cls
z Cluster
z Cmd
z Cmdkey
z Color
z Comp
z Compact
z Convert
z Copy
z Csvde
z Date
z Dcdiag
z Dcpromo
z Defrag
z Del
z Dfscmd
z Dir
z Diskcomp
z Diskcopy
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 4 of 10
z Diskedit
z Diskpart
z DiskRAID
z Diskshadow
z Dnscmd
z Doskey
z Driverquery
z Dsacls
z Dsadd
z Dsamain
z Dsdbutil
z Dsget
z Dsmgmt
z Dsmod
z Dsmove
z Dsquery
z Dsrm
z Echo
z Edit
z Endlocal
z Erase
z Eventcreate
z Exit
z Extract
z Fc
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 5 of 10
z Find
z Findstr
z Flattemp
z For
z Forfiles
z Format
z Freedisk
z Fsutil
z Ftype
z Goto
z Gpresult
z Graftabl
z Help
z Icacls
z If
z Ktmutil
z Ktpass
z Label
z Ldifde
z Ldp
z Logman
z Logoff
z Lpq
z Lpr
z Mapadmin
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 6 of 10
z Md
z Mkdir
z Mklink
z Mode
z More
z Mount
z Mountvol
z Move
z Msg
z Msiexec
z Msinfo32
z Mstsc
z Net computer
z Net group
z Net localgroup
z Net print
z Net user
z Netdiag
z Netdom
z Nfsadmin
z Nfsshare
z Nfsstat
z Nlb
z Nltest
z Nslookup
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 7 of 10
z Ntbackup
z Ntdsutil
z Openfiles
z Path
z Pause
z Perfmon
z Popd
z Print
z Prncnfg.vbs
z Prndrvr.vbs
z Prnjobs.vbs
z Prnmngr.vbs
z Prnport.vbs
z Prnqctl.vbs
z Prompt
z Psadmin
z Pubprn.vbs
z Pushd
z Qappsrv
z Qprocess
z Query
z Quser
z Qwinsta
z Rd
z Recover
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 8 of 10
z Redircmp
z Redirusr
z Reg
z Relog
z Rem
z Ren
z Rename
z Rendom
z Repadmin
z Replace
z Reset session
z Rmdir
z Robocopy
z Rpcinfo
z Runas
z Rwinsta
z Sc
z Schtasks
z Set
z Setlocal
z Setx
z Shadow
z Shift
z Showmount
z Shutdown
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 9 of 10
z Sort
z Start
z Subst
z Systeminfo
z Takeown
z Taskkill
z Tasklist
z Time
z Timeout
z Title
z Tracerpt
z Tree
z Tscon
z Tsdiscon
z Tskill
z Tsprof
z Type
z Typeperf
z Umount
z Ver
z Verify
z Vol
z Vssadmin
z Waitfor
z Wbadmin
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011
Command Reference Overview Page 10 of 10
z Wecutil
z Wevutil
z Where
z Whoami
z Winsat
z Wmic
z Xcopy
Additional references
z Microsoft TechNet: Resources for IT Professionals (http://go.microsoft.com/fwlink/?
LinkId=66683)
mshelp://Windows/?id=a5d614f4-3512-4c33-b9ba-356fbe9646e5 3/26/2011