50025 PowerShell for Administrators
Printer friendly

Course Overview
  This hands-on session will introduce administrators to the new Windows command-line shell, PowerShell. PowerShell offers both a command-line interface as well as a scripting environment. With connectivity to Microsoft products such as Exchange 2007, System Center Operations Manager (MOM 2007) and many more, PowerShell provides a consistent interface to more easily control system administration and accelerate automation. It runs on Windows XP SP2, Windows Server 2003, Windows Vista and Windows Server "Longhorn".

Objectives
  

Audience
  Systems administrators responsible for managing Windows platforms


Prerequisites
  Familiarity with Windows operating systems. Scripting experience is preferred.

Course Number
  NHPowerShell

Course Length
  3 Days

Course Price
  $1,650.00

Category
  3

Topics
  Section 1: Introduction to PowerShell - the Basics
Lesson 1: What is PowerShell?
  • What is PS?
  • Installation
  • Starting PowerShell
  • PowerShell Commands
  • Shell Function Commands
  • Script Commands
  • Native Commands
  • CLI (Command Line Interface) Navigation

Lesson 2: PowerShell Cmdlets
Lesson 3: PowerShell Snap-Ins
Lesson 4: Navigating in PowerShell
  • Drives
  • Aliases
  • Parameters
  • Help
  • Variables
Lesson 5: PowerShell Profiles
  • Creating a Profile


Section 2: The PowerShell Pipeline, Scripts and Syntax
Lesson 1: Pipelines
Lesson 2: Scripts
  • Properties and Methods
  • Sorting objects

Lesson 3: Syntax, Special Characters and Operators
  • Quotes
  • Redirecting Output
  • Command Continuation
  • Special Characters
  • Operator Precedence
  • Operators Galore


Section 3: Variables and Data Types, Variable Scopes, and Arrays
Lesson 1: Variables and Data Types
  • More data types
  • Variables with Variables!
  • Environment Variables
  • Get-Variable
  • Set-Variable
  • New-Variable
  • Clear-Variable
  • Remove-Variable

Lesson 2: Variable Scopes
Lesson 3: Arrays
  • Associative Arrays


Section 4: Security
Lesson 1: Script Execution
  • Running a Script
  • Execution Policy
  • Group Policy for Execution

Lesson 2: Signing Scripts
  • Creating a local certificate Authority
  • Create the signing certificate
  • Using the certificate to sign scripts
  • Creating Secure Strings
  • Whatif

Lesson 3: Requesting Credentials and Using Secure Strings

Section 5: Script Flow Control Statements
Lesson 1: Foreach and For
  • Foreach
  • For

Lesson 2: While / Do While / Do Until
  • While
  • Do While
  • Do Until

Lesson 3: Branching with IF and SWITCH
  • IF
  • Switch

Lesson 4: Break /Continue
  • Break
  • Continue


Section 6: Formatting
Lesson 1: Format- cmdlets
  • Format-List (FL)
  • Format-Table
  • Format-Wide
  • Format-Custom
  • Groupby
  • Group-Object
  • Session Colors

Lesson 2: Using Sort-Object, Where-Object
  • Sort-Object
  • Where-Object

Lesson 3: Exporting results to files
  • CSV
  • XML
  • HTML

Section 7: Regular Expressions
Lesson 1: Regular Expression characters
Lesson 2: Using Regular Expressions
  • Select-String


Section 8: Functions
Lesson 1: Functions, Filters and Arguments
  • Functions
  • Filters
  • Managing Functions

Lesson 2: Scripting with functions and parameters
  • Passing arguments into a script


Section 9: Error Handling
Lesson 1: Error Handling
Lesson 2: Script Debugging

Section 10: Advanced Scripting for Administrators
Lesson 1: Manipulating files and folders
Lesson 2: Modifying registry data
Lesson 3: Retrieve event log information
Lesson 4: ADSI and PowerShell
Lesson 5: Using the New-Object cmdlet
Lesson 6: Timer Jobs