Windows PowerShell Scripting and Toolmaking (MCC-55039)

MCC-55039 (5 Days)
Request Pricing for Windows PowerShell Scripting and Toolmaking (MCC-55039)

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

Accelebrate courses are taught as private, customized training for groups of 3 or more at your site. In addition, we offer live, private online training for teams who may be in multiple locations or wish to save on travel costs. To receive a customized proposal and price quote for private on-site or online training, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

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 for Windows PowerShell Scripting and Toolmaking (MCC-55039)

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

Have you read our Google reviews?

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

Fax: +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

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2020 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.