Your privacy matters: This site uses cookies to analyze site usage and provide social media features. Learn More.

Windows PowerShell Scripting and Toolmaking (MCC-55039 )

MCC-55039 (5 Days)

Request Pricing

PowerShell Training Overview

This Microsoft Community Course 55039, Windows PowerShell Scripting and Toolmaking training, teaches students the correct patterns and practices for building reusable, tightly scoped units of automation.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

PowerShell Training Objectives

All students will learn how to:

  • Describe the correct patterns for building modularized tools in Windows PowerShell
  • Build highly modularized functions that comply with native PowerShell patterns
  • Build controller scripts that expose user interfaces and automate business processes
  • Manage data in a variety of formats
  • Write automated tests for tools
  • Use the debugging tools

PowerShell Training Outline

Expand All | Collapse All | Printer-Friendly

introduction
Tool Design
  • Tools do one thing
  • Tools are flexible
  • Tools look native
Start with a Command
  • Why start with a command?
  • Discovery and experimentation
Build a Basic Function and Module
  • Start with a basic function
  • Create a script module
  • Check prerequisites
  • Run the new command
Adding CmdletBinding and Parameterizing
  • About CmdletBinding and common parameters
  • Accepting pipeline input
  • Mandatory-ness
  • Parameter validation
  • Parmeter aliases
Emitting Objects as Output
  • Assembling information
  • Constructing and emitting output
  • Quick tests
An Interlude: Changing Your Approach
  • Examining a script
  • Critiquing a script
  • Revising the script
Using Verbose, Warning, and Informational Output
  • Knowing the six channels
  • Adding verbose and warning output
  • Doing more with verbose output
  • Informational output
Comment-Based Help
  • Where to put your help
  • Getting started
  • Going further with comment-based help
  • Broken help
Handling Errors
  • Understanding errors and exceptions
  • Bad handling
  • Two reasons for exception handling
  • Handling exceptions in our tool
  • Capturing the actual exception
  • Handling exceptions for non-commands
  • Going further with exception handling
  • Deprecated exception handling
Basic Debugging
  • Two kinds of bugs
  • The ultimate goal of debugging
  • Developing assumptions
  • Write-Debug
  • Set-PSBreakpoint
  • The PowerShell ISE
Going Deeper with Parameters
  • Parameter positions
  • Validation
  • Multiple parameter sets
  • Value from remaining arguments
  • Help messages
  • Aliases
  • More CmdletBinding
Writing Full Help
  • External help
  • Using PlatyPs
  • Supporting online help
  • “About” topics
  • Making your help updatable
Unit Testing Your Code
  • Sketching out the test
  • Making something to test
  • Expanding the test
  • Going further with Pester
Extending Output Types
  • Understanding types
  • The Extensible Type System
  • Extending an object
  • Using Update-TypeData
Analyzing Your Script
  • Performing a basic analysis
  • Analyzing the analysis
Publishing Your Tools
  • Begin with a manifest
  • Publishing to PowerShell Gallery
  • Publishing to private repositories
Basic Controllers: Automation Scripts and Menus
  • Using UIChoice
  • Writing a process controller
Proxy Functions
  • A proxy example
  • Creating the proxy base
  • Modifying the proxy
  • Adding or removing parameters
Working with XML Data
  • Simple: CliXML
  • Importing native XML
  • ConvertTo-XML
  • Creating native XML from scratch
Working with JSON Data
  • Converting to JSON
  • Converting from JSON
Working with SQL Server Data
  • SQL Server terminology and facts
  • Connecting to the server and database
  • Writing a query
  • Running a query
  • Invoke-SqlCmd
  • Thinking about tool design patterns
Final Exam
  • Lab problem
  • Break down the problem
  • Do the design
  • Test the commands
  • Code the tool
Conclusion
Request Pricing

Lecture percentage

50%

Lecture/Demo

Lab percentage

50%

Lab

Course Number:

MCC-55039

Duration:

5 Days

Prerequisites:

All students must have experience in:

  • Basic Windows administration
  • Windows PowerShell to query and modify system information
  • Windows PowerShell to discover commands and their usage
  • WMI and/or CIM to query system information

Training Materials:

All Microsoft training students receive Microsoft official courseware.

Software Requirements:

Attendees will not need to install any software on their computer for this class. The class will be conducted in a remote environment that Accelebrate will provide; students will only need a local computer with a web browser with a stable Internet connection. Any recent version of Internet Explorer, Mozilla Firefox, or Google Chrome will be fine.

When you call us about purchasing this class, we will provide a live demo of the online lab environment so that you may explore the web browser interface in more detail.

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Banton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.