PowerShell 3.0, Part 4 of 4: Profiles, Cmdlets, and Modules
Interactive

PowerShell 3.0, Part 4 of 4: Profiles, Cmdlets, and Modules

LearnNow Online
Updated Aug 23, 2018

Course description

In this course you’ll learn to customize and extend PowerShell for your own needs. To start with you’ll learn about profiles which let you control the features that are available whenever you open up a PowerShell console, PowerShell Ice, or any other host for that matter. Then you’ll learn how to create custom commandlets with .NET before switching over to learn how to build script commandlets and modules using PowerShell scripting.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course assumes that users have an understanding of the Windows desktop, Windows server operating system, and how to use a scripting language.


Meet the expert

Doug Ware

Doug Ware is a SharePoint expert and an instructor for many of our SharePoint 2007 and SharePoint 2010 courses. A Microsoft MVP several times over, Doug is the leader of the Atlanta .NET User Group, one of the largest user groups in the Southeast U.S., and is a frequent speaker at code camps and other events. In addition to teaching and writing about SharePoint, Doug stays active as a consultant and has helped numerous organizations implement and customize SharePoint.

Video Runtime

46 Minutes

Time to complete

158 Minutes

Course Outline

Profiles and Cmdlets

Profiles (11:59)

  • Introduction (00:36)
  • Extending PowerShell (00:50)
  • Managing Scripts (00:33)
  • Profiles (00:37)
  • Profile Variables (01:00)
  • Demo: Configuring a Profile (03:19)
  • Demo: Profile Variables (02:02)
  • Demo: Create a New Profile (02:08)
  • Summary (00:48)

Custom Cmdlets with DotNet (19:21)

  • Introduction (00:30)
  • Custom Cmdlets (00:11)
  • .NET Pros and Cons (00:52)
  • Building Cmdlets with .NET (01:06)
  • .NET Cmdlet Basics (01:00)
  • Demo: .NET Cmdlets (02:20)
  • Cmdlet Overridable Methods (01:40)
  • Attributes (01:16)
  • Demo: Attributes (02:35)
  • Demo: Testing a Cmdlet (03:15)
  • Demo: Cmdlet Property (03:57)
  • Summary (00:34)

Script Cmdlets and Modules (15:05)

  • Monad and UNIX (02:28)
  • Introduction (00:52)
  • Monad Improvements (01:28)
  • Object Pipeline (01:00)
  • Demo: Object Pipeline (03:24)
  • PowerShell in place of CMD (01:27)
  • Demo: PowerShell Aliases (02:56)
  • Summary (00:20)