New Horizons Computer Learning Center 410-597-9722
Windows PowerShell - Automate Server Administration
Course Length: 3 Days
Overview:
This hands-on session will introduce administrators to PowerShell, the new Windows command-line shell. PowerShell offers both a command-line interface as well as a scripting environment.
Prerequisites:
Familiarity with Windows operating systems. Scripting experience is preferred.
Course Content
Lesson 1: PowerShell Overview
- Installation & Requirements
- The PowerShell Command Line
- CLI (Command Line Interface) Navigation
- Intro to Scripts, Cmdlets and Snapins
- Navigating in PowerShell
- Drives
- Listing Directories
- Aliases
- Parameters
- Help
Lesson 2: Scripts
- Saving & Running
- Security settings & Certificates
- PowerShell Profiles
- Advanced Example - Where We're Headed
Lesson 3: PowerShell Cmdlets & Snap-Ins
- Available CmdLets
- Help
- Pipelines
- Objects, Properties and Methods
- Sorting objects
Lesson 4: Syntax, Special Characters and Operators
- Quotes
- Redirecting Output
- Command Continuation
- Special Characters
- Operator Precedence
- Operators Galore
Lesson 5: Variables, Variable Scopes
- Data Types
- Environment Variables
- Get-Variable
- Set-Variable
- New-Variable
- Clear-Variable
- Remove-Variable
- Arrays
Lesson 6: Script Flow Control Statements
- Foreach
- For
- While
- Do While
- Do Until
- Branching
- IF
- Switch
- Break /Continue
Lesson 7: Formatting
- Format- cmdlets
- Format-List (FL)
- Format-Table
- Format-Wide
- Format-Custom
- Session Colors
- GroupBy
- Sort-Object, Where-Object
Lesson 8: Regular Expressions
- Syntax
- Uses/Filtering With Regular Expressions
Lesson 9: Exporting Results to Files
- CSV
- HTML
- XML
- Custom & Filtered Output
Lesson 10: Functions, Filters and Arguments
- Functions
- Filters
- Managing Functions
Lesson 11: Error Handling
- Terminating & NonTerminating Errors
- Error Actions
- Trapping Errors
- Throwing Errors
Lesson 12: WMI
- Win32_LogicalDisk
- Win32_OperatingSystem
- Win32_Share
- Other classes
- Remote Computers and WMI
Lesson 13: Active Directory/ADSI
- Accessing Active Directory
- Adding & Removing Users
- Groups
- Updating User Properties
Lesson 14: Exchange
- Enabling Mailboxes
- Filtering & Manipulating Quotas, etc.
6940 Tudsbury Road, Baltimore, MD 21244
P: 410-597-9722
www.nhbaltimore.com |