PowerShell for SharePoint


Course Number: PWS-400

Duration: 4 days (26 hours)

Format: Live, hands-on

PowerShell for SharePoint Training Overview

This PowerShell for SharePoint training course teaches SharePoint administrators and power-users the basics of Microsoft PowerShell and how to use PowerShell to manage an on-premises SharePoint 2013/2016 installation. In addition to leveraging data in lists and libraries, attendees learn real-world techniques of using PowerShell to manage their SharePoint environment.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

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

Objectives

All students learn how to:

  • Write scripts and use best practices
  • Configure the PowerShell environment
  • Print to the screen
  • Create, use, and manipulate variables
  • Use AND/OR operators and conditional logic
  • Iterate through SharePoint list items with looping
  • Create and use arrays
  • Create basic and advanced functions
  • Manage SharePoint Sites, Lists and Libraries with PowerShell
  • Handle errors and how to respond to them
  • Send email, import data, and use parameters

Prerequisites

The class assumes little to no experience with PowerShell scripting. However, some experience with SharePoint, Microsoft Office applications, and general computer knowledge would be recommended.

Outline

Expand All | Collapse All

Brief Introduction to SharePoint
  • Basic structures PowerShell can Interact with
    • Web Applications/Site Collections/Sites
    • Lists/Libraries
    • Columns
    • Column Values
  • SharePoint scenarios managed with PowerShell
Getting started with PowerShell
  • Terminology
  • Understanding command syntax
  • Finding a command
  • Getting help with a command
Script Writing 101
  • Tools
  • Script components
  • Scripting best practices
Configuring the Environment
  • Snap-ins
  • Modules
  • Session
  • Profiles
Screen Output
  • Accepting input from the screen
  • Printing to screen
  • Console colors
Comments
  • Using comments/comment blocks
  • Best Practices
Variables
  • Creating variables
  • Variable types
  • Variable scoping
  • Casting
  • Using variables
  • Instance Referrer
Operators
  • AND/OR operators
  • Comparison operators
Conditional Logic
  • If/Else/IfElse
Loops
  • ForEach
  • Do/While
Piping
  • Using Pipes
Error Handling
  • Best practices
  • Try/Catch
Arrays
  • Creating an array
  • Adding to an array
  • Iterating through an array
Functions
  • Overview
  • Creating and using functions
SharePoint Site Collections/Sites
  • Opening a site collection/site
  • Looping through subsites
  • Creating a content database with PowerShell
  • Creating a site collection with PowerShell
  • Creating a subsite with PowerShell
Columns
  • Creating different column types with PowerShell
  • Manipulating data in different column types
    • String
    • Peoplepicker
    • Choice
    • Yes/No
    • Multiple Line of Text
Lists and Libraries
  • Opening a list/library
  • Building an array of items
  • Filtering an array of items
  • Iterating a list’s contents
  • Adding an item to a list
  • Deleting an item in a list
  • Looking up data in another list
  • Uploading a file to a SharePoint library
  • Copying attachments from list item to list item
Permissions
  • Breaking/Resetting Inheritance on a web/list
  • Setting Permissions on a list
  • Setting Permissions on an item
Using the User Profile Service (UPS) Database
  • Connecting to the UPS
  • Querying for Data
  • Updating Data (like a picture)
  • A better approach to querying the UPS
Email
  • Sending a formatted email from PowerShell
Working with external Files
  • Importing from CSV
  • Writing to CSV
Parameters
  • Passing in parameters to a script
Using Windows Task Scheduler to automate job execution
  • Command line syntax
  • Best practices
Other Cool Things to Do with PowerShell and SharePoint (if time permits)
  • Writing script execution data to a list
  • Using Mail-Enabled lists for notification tracking
  • Exporting data to a SQL table
  • PowerShell with 3rd Party Workflow Extensions
  • Query Active Directory user/group information
  • Update User Information List data (very advanced)
  • Querying versions of a list item
Conclusion

Training Materials:

All PowerShell training students receive comprehensive courseware. 

Software Requirements:

Detailed setup specs will be provided upon request.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



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