Introduction
Most administrators start working with scripts by either downloading or modifying scripts that others create. After you've obtained a script, you must run it. There are some important differences between running scripts in Windows PowerShell versus running them at a standard command prompt. These differences are covered in this module along with other concepts that are related to scripting.
Learning objectives
After completing this module, you'll be able to:
- Describe Windows PowerShell scripts.
- Explain how to find scripts and modify them.
- Describe how to create scripts.
- Describe the PowerShellGet module.
- Explain how to run Windows PowerShell scripts and describe the script execution policy.
- Explain how to use AppLocker to help secure Windows PowerShell scripts.
- Explain how to digitally sign scripts.
Prerequisites
Familiarity with:
- Windows networking technologies and implementation
- Windows Server administration, maintenance, and troubleshooting
- Windows PowerShell and its commands to perform specific tasks
- PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration
- Windows PowerShell pipeline, PowerShell providers, and PowerShell drives
- CIM and WMI technologies
- The use of variables, arrays, and hash tables in Windows PowerShell