Advanced Tools & Scripting with PowerShell 3.0 (HD) - Channel 9: Recent Episodes

Microsoft

IT pros, take this advanced PowerShell course to find out how to turn your real time management and automation scripts into useful reusable tools and cmdlets. You'll learn the best patterns and practices for building and maintaining tools and you'll pick up some special tips and tricks along the way from the architect and inventor of PowerShell, Distinguished Engineer Jeffrey Snover, and IT pro, Jason Helmick.

View Details

This module provides an overview and demonstration of modules, including where they should be placed, module manifests, and custom views.

  • [00:58] - Putting your tools in one place
  • [18:20] - Creating a module manifest
  • [30:53] - Creating, loading and adding a view with a manifest

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module describes tools that use the –confirm and –whatif parameters and provides examples using the ShouldProcess function.

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module describes error handling and provides sample code for handling and logging errors.

  • [00:22] - Error actions, setting the actions on Variables
  • [23:08] - Try, Catch, Finally, logging errors

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module describes Help, including why you should provide it and where it should be located, and provides an example of comment-based Help.

  • [00:29] - Why provide help?
  • [11:26] - Where to put the help and how to use it.

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module provides more information on parameters, including mandatory parameters, switching parameters and accepting pipeline input, as well as parameter Help, aliases, and validation.

  • [00:17] - Working with parameters
  • [19:24] - Parameter validation

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module describes aspects of advanced functions, including using templates, creating and testing parameters, adding code, and writing objects out to the pipeline.

  • [00:20] - Advanced functions
  • [20:20] - Creating and testing parameters
  • [41:03] - Writing objects out to the pipeline

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module explains how to turn commands into scripts for automation, choose variables to parameterize, parameterize scripts, write functions, and run scripts and functions.

  • [00:22] - Simple scripts and functions
  • [11:10] - Running your scripts/functions

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module describes aspects of PowerShell's scripting language, including variables, quotation marks, object members and variables, parentheses, and logical and looping constructs.

  • [00:18] - Scripting language
  • [13:19] - Variables, quotation marks and object members
  • [35:11] - Parentheses, logical constructs, looping constructs

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules

View Details

This module provides an overview of PowerShell and describes how to install the Windows Management Framework and run PowerShell as an Administrator. It explains PowerShell security and execution policies and demonstrates how to run scripts.

  • [02:04] - Introduction to the course
  • [18:26] - Get started with scripting
  • [28:05] - Execution Policy

Full course outline:

  • Mod 01: Get Started Scripting
  • Mod 02: PowerShell’s Scripting Language
  • Mod 03: Simple Scripts and Functions
  • Mod 04: Advanced Functions
  • Mod 05: More on Parameters
  • Mod 06: Writing Help
  • Mod 07: Error Handling
  • Mod 08: Tools That Make Changes
  • Mod 09: Script and Manifest Modules