Introduction to PowerShell on Windows Server 2016

In this instructor-led, online training course, students will learn to automate configuration with PowerShell (a shell developed by Microsoft for purposes of task automation and configuration management) and DSC, defining configuration logic and making changes programmatically in Windows, Exchange, and SharePoint Server 2016.

Instructor: Will Panek

Skills Learned

By the end of this course, students will:

  • Understand how to install PowerShell
  • Understand how to use the Help function to find commands
  • Know how to use Shortcuts
  • Understand how to use the Filesystem
  • Know how to use the Pipe key
  • Understand how to filter commands
  • Understand how to use Windows Management Instrumentation
  • Better understand Windows PowerShell Security
  • Understand how to utilize repeatable commands
  • Understand to create and document scripts
  • Understand string manipulation

Who Should Attend This Course

This PowerShell course is meant for students who already work with or will work with PowerShell inside of Windows Server 2016, Exchange 2016, SharePoint 2016, etc.

Prerequisites

It is highly recommended that students have taken 70-740: Installation, Storage, and Compute with Windows Server 2016 or have equivalent experience with Windows Server 2016.

Course Outline

Introduction to PowerShell

  • Why we use PowerShell
  • Installing PowerShell
  • Configuring the PowerShell Console Window
  • Understanding the version

Using Help

  • Command vs cmdlet
  • Updating Help
  • Using Help to find commands
  • Interpreting Help commands
  • Using the -full string
  • Understanding PowerShell variables

Understanding Commands

  • Command breakdown
  • Using Aliases
  • Using Shortcuts
  • Understanding parameter positions
  • Using the Show command
  • External commands

Using Providers

  • What are providers
  • Using the Filesystem
  • Using wildcards

Connecting Commands

  • Connecting One Command to another
  • Using CSV and XML files
  • Using PowerShell to compare files
  • Using the Pipe key

Adding Commands

  • Product specific commands
  • Snap-ins
  • Using Modules
  • Scripts
  • Using the Internet to find modules

Understanding Objects

  • What are objects
  • Discovering objects
  • Object properties

Using the Pipeline

  • Understanding the pipeline
  • Custom Properties

Learning to Format

  • Understanding formatting
  • Default formatting
  • Using tables and lists
  • Outputting results to file, printer, or host

Filtering Commands

  • Getting only what you need
  • Filtering left
  • Using the comparison switches
  • Filtering with the pipeline

Using Commands Remotely

  • Understanding WinRM
  • Remote vs Local commands

Understanding WIM

  • Using Windows Management Instrumentation
  • Win vs CIM
  • Using the Get-WmiObject

PowerShell Multitasking

  • Using multiple commands
  • Synchronous vs. asynchronous
  • Creating jobs
  • Scheduling jobs

Understanding Automation

  • Mass Management
  • Batch commands
  • Enumerating objects

Knowing Security

  • Keeping the shell secure
  • Windows PowerShell Security
  • Policies and Code Signing
  • Security holes

Introduction to Variables

  • Storing variables
  • Using variables
  • Multiple objects and variables
  • Declaring variables
  • Variable commands

Welcome to Scripting

  • Repeatable commands
  • Parameterizing Commands
  • Creating scripts
  • Documenting scripts

PowerShell Tricks

  • Profiles
  • Customization
  • Operators
  • String manipulation