Use the Internet and the ITT Tech Virtual Library to research shell scripts and answer the following question:
What is a shell script?
What are the advantages of using shell scripts?
What are the common usages of Windows PowerShell?
A shell script is a computer program designed to be run by the shell of an operating system such as Unix. The various dialects of shell scripts are considered to be scripting languages. The advantages of shell scripts are:
Shortcuts – provides a convenient variation of a system command where special environment settings, command options, or post-processing apply automatically, but in a way that allows the new script to still act as a fully normal shell command. Batch Jobs – allow several commands that would be entered manually at a command-line interface to be executed automatically, and without having to wait for a user to trigger each stage of the sequence.
Generalization – Instead of each item being listed within the script, the item is provided on a command line and the shell uses loops, tests and variables to take those items and perform a simple task. PowerShell is a Microsoft Windows tool used to create scripts used in place of the command-line tool. PowerShell uses cmdlets which are specialized commands that implement specific functions which in turn perform a single or multiple tasks.