11/09/20 - HVC - System Source-338 Clubhouse Road, Hunt Valley, MD 21031 - Hunt Valley or Virtual
The topics we cover include:
- Reviewing the basic anatomy of a script
- Understanding the role of variables, arrays and hash tables
- Adding logic to your script using common PowerShell programming methods
- Looping through parts of a script
- Writing functions and converting them into PowerShell modules that you can share and re-use
- Understanding the importance of security in the context of trusting and running scripts
- Deploying your script and getting it to run successfully
At the end of the class, as time permits, we will look at real-world scripts that are currently being used at System Source in production environments.
Mod 1 Working with variables, arrays, and hash tables
Provides skills required to use variables, arrays, and hash tables in Windows PowerShell. Students learn how to use variables to accomplish complex tasks that they cant perform by using a single command.
LAB: Working with variables
Mod 2 Basic scripting
Provides formal introduction to scripting. Students learn how to package PowerShell commands in a script. They also learn that scripts can perform repetitive tasks and more-complex tasks than a single command can accomplish. Students also learn about the script execution policy and other scripting security features.
LAB: Basic scripting
Mod 3 Advanced scripting
Introduces students to more advanced techniques that they can use in scripts. These techniques include gathering user input, reading input from files, documenting scripts with help information, and handling errors.
LAB: Accepting data from users
Mod 4 Using advanced Windows PowerShell techniques
Covers several of the advanced techniques and features of Windows PowerShell. Many of these techniques and features extend the functionality that students learned about in previous modules. Some of the techniques are new to Windows PowerShell 5.1 and provide additional capabilities.
LAB: Practicing advanced techniques