Learn your way! Get started

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

with expert Doug Ware


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 2/4/2013
Level Intermediate
Runtime 0h 46m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code N/A
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



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.

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 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.

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)
  • Introduction (00:52)
  • Building Cmdlets with Script (01:26)
  • Demo: Script Cmdlets (03:55)
  • Demo: Script Parameters (02:05)
  • Modules (00:39)
  • Script Module (01:39)
  • Demo: Script Module (04:07)
  • Summary (00:20)