A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter.
Recent Examples
Copy files and directory trees.
Manage the Windows Subsystem for Linux from the command line.
More information:
https://docs.microsoft.com/en-us/windows/wsl/reference .
Display details about the current user.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/whoami .
Display the location of files that match the search pattern.
Defaults to current work directory and paths in the PATH environment variable.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/where .
Display information about volumes.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/vol .
The VirtualBox virtual machine management CLI.
More information:
https://www.virtualbox.org .
Display the current Windows or MS-DOS version number.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ver .
Provide the conversion between two units of measure.
A tool for displaying or configuring the system time zone.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tzutil .
Display the contents of a file.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/type .
Ends a process running in a session on a Remote Desktop Session Host.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tskill .
Display a graphical tree of the directory structure for a path.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tree .
Set the title of the command prompt window.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/title .
Display a list of currently running processes on a local or remote machine.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tasklist .
Terminate a process by its process id or name.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/taskkill .
Take ownership of a file or directory.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/takeown .
Display operating system configuration for a local or remote machine.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/systeminfo .
Associates a path with a virtual drive letter.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/subst .
A GUI signature verification tool for checking system files.
A tool for shutting down, restarting or logging off a machine.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown .
Display information about NFS filesystems on Windows Server.
More information:
https://docs.microsoft.com/windows-server/administration/windows-commands/showmount .
Scans the integrity of Windows system files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sfc .
Display or set environment variables for the current instance of CMD.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set .
A command-line installer for Windows.
More information:
https://scoop.sh .
List programs via RPC on remote computers.
More information:
https://docs.microsoft.com/windows-server/administration/windows-commands/rpcinfo .
Robust File and Folder Copy.
By default files will only be copied if the source and destination have different time stamps or different file sizes.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy .
Remove a directory and its contents.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir .
Attempt to repair or decrypt a damaged BitLocker-encrypted volume.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/repair-bde .
A command line interface for managing keys and their values in the Windows registry.
See
reg-query
,
reg-add
and other pages for additional information.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg .
Remove data from the registry that was loaded using the
reg load
command.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-unload .
Save a registry key, its sub keys and values to a file.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-save .
Restore a key and its values from a backup file.
See
reg-save
for more information.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-restore .
Display the values of keys and sub keys in the registry.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-query .
Load saved sub keys into a different sub key in the registry.
This is intended for troubleshooting and temporary keys.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-load .
Import all available keys, subkeys, and values from a file.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-import .
Display or set flags on registry keys.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-flags .
Export the specified sub keys and values into a file.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-export .
Delete keys or their values from the registry.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-delete .
Copy keys and their values in the registry.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-copy .
Compare keys and their values in the registry.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-compare .
Add new keys and their values to the registry.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-add .
A tool for signing Remote Desktop Protocol (RDP) files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rdpsign .
A command line tool for managing the Windows To Go startup options.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pwlauncher .
Place a directory on a stack so it can be accessed later.
See also
popd
to switch back to original directory.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pushd .
Print a text file to a printer.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/print .
Changes the current directory to the directory stored by the
pushd
command.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/popd .
A trace route tool combining features of
ping
and
tracert
.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pathping .
Display or set the search path for executable files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/path .
Command line tools for Octopus Deploy.
More information:
https://octopus.com/docs/octopus-rest-api/octo.exe-command-line .
Display or reset the number of calls made to the NFS server.
More information:
https://docs.microsoft.com/windows-server/administration/windows-commands/nfsstat .
Send a message to a specific user or session.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msg .
Mount Network File System (NFS) network shares.
More information:
https://docs.microsoft.com/windows-server/administration/windows-commands/mount .
Display paginated output from
stdin
or a file.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/more .
Create symbolic links.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink .
Creates a directory.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mkdir .
Terminate a login session.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/logoff .
Compiler for Inno Setup installers.
It compiles an Inno Setup scripts into an Windows installer executable.
Display and manage the network configuration of Windows.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig .
Display the MAC addresses of a system.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/getmac .
Display or modify file types used for file extension association.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ftype .
Interactively transfer files between a local and remote FTP server.
Select one or more files to execute a specified command on.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/forfiles .
A command line installer for optional Windows features.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fondue .
Return information about one or more users on a specified system.
The remote system must be running the Finger service.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/finger .
Find specified text within one or more files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/findstr .
Find a specified string in one or more files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/find .
Compare the differences between two files or sets of files.
Use wildcards (*
) to compare sets of files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fc .
The Windows File Explorer.
Uncompress one or more Windows Cabinet files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/expand .
Quit the current CMD instance or the current batch file.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/exit .
Create custom entries in the event log.
Event IDs can be any number between 1 and 1000.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/eventcreate .
Display information about installed device drivers.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/driverquery .
Manage macros, windows commands and command lines.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/doskey .
List directory contents.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dir .
Delete one or more files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/del .
Compare the contents of two files or sets of files.
Use wildcards (*
) to compare sets of files.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/comp .
Set the console foreground and background colors.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/color .
A command line tool for managing connection service profiles.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmstp .
The Windows command interpreter.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd .
Clears the screen.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cls .
Copy input content to the Windows clipboard.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/clip .
Encrypt or decrypt files on NTFS drives.
A command line interface for the Chocolatey package manager.
See
choco install
,
choco upgrade
and other pages for additional information.
More information:
https://chocolatey.org .
Upgrade one or more packages with Chocolatey.
More information:
https://chocolatey.org/docs/commands-upgrade .
Uninstall one or more packages with Chocolatey.
More information:
https://chocolatey.org/docs/commands-uninstall .
Manage sources for packages with Chocolatey.
More information:
https://chocolatey.org/docs/commands-source .
Search for a local or remote package with Chocolatey.
More information:
https://chocolatey.org/docs/commands-search .
Pin a package at a specific version with Chocolatey.
Pinned packages are skipped automatically when upgrading.
More information:
https://chocolatey.org/docs/commands-pin .
Package a NuGet specification into a nupkg file.
More information:
https://chocolatey.org/docs/commands-pack .
Check for outdated packages with Chocolatey.
More information:
https://chocolatey.org/docs/commands-outdated .
Generate new package specification files with Chocolatey.
More information:
https://chocolatey.org/docs/commands-new .
Display a list of packages with Chocolatey.
More information:
https://chocolatey.org/docs/commands-list .
Install one or more packages with Chocolatey.
More information:
https://chocolatey.org/docs/commands-install .
Display detailed information about a package with Chocolatey.
More information:
https://chocolatey.org/docs/commands-info .
Interact with features with Chocolatey.
More information:
https://chocolatey.org/docs/commands-feature .
Manage API keys for Chocolatey sources.
More information:
https://chocolatey.org/docs/commands-apikey .
Displays or changes file and directory attributes.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/attrib .
Display or modify file extension associations.
More information:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/assoc .
Troubleshooting tool for tracing system calls.
SunOS equivalent of strace.