logo
ABD
LiveZilla Live Chat Software



Training Presentation Systems Services & Consulting Cloud Services Purchase Client Center Computer Museum
Arrow Course Schedule | Classroom Rentals | Student Information | Free Seminars | Client Feedback | Partners | Survey
While System Source is working from home, we are still available for all of your calls and support needs.

Developing PowerShell Scripts

SS Course: 2001464

Course Overview

TOP
PowerShell is one of the best tools for handling repetitive or complex tasks in a Windows environment. In this class, we look at the individual components of a PowerShell script and learn how they work together.                                                                  

Scheduled Classes

TOP
09/29/20 - CLE - 10480 Little Patuxent Parkway, Suite 700 - Columbia or Virtual
11/09/20 - HVC - System Source-338 Clubhouse Road, Hunt Valley, MD 21031 - Hunt Valley or Virtual

What You'll Learn

TOP

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.

Outline

TOP
Viewing outline for:

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
LAB: Implementing functions and modules

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

Prerequisites

TOP
A basic understanding of PowerShell is helpful.

    Who Should Attend

    TOP
    Administrators who wish to develop skills writing their own PowerShell scripts and those who wish to better understand others PowerShell scripts. Students who've attended PowerShell Quickstart for Administrators.

    Next Step Courses

    TOP