Using Windows PowerShell with SharePoint 2010 and SharePoint 2013

In this course you'll learn all that you need to know to be productive using Windows PowerShell with SharePoint 2010 and SharePoint 2013.
Course info
Rating
(92)
Level
Intermediate
Updated
Jul 12, 2013
Duration
4h 47m
Table of contents
Introduction to PowerShell for SharePoint
Scripting with PowerShell & SharePoint
PowerShell V3 + SharePoint 2013
PowerShell & Office 365
PowerShell Remoting
Creating Custom Cmdlets for SharePoint
Description
Course info
Rating
(92)
Level
Intermediate
Updated
Jul 12, 2013
Duration
4h 47m
Description

When it comes to administering and automating SharePoint 2010, 2013, and Office 365, there is no better tool than Windows PowerShell. After going through this course, you'll have the skills and knowledge necessary to be productive with PowerShell. In the first two modules, you'll get a jump start on PowerShell where you'll learn everything from basic syntax to creating functions and scripts, all within the context of SharePoint. Next, you'll discover what's new when it comes to using PowerShell V3 with SharePoint 2013. Administering SharePoint with PowerShell does not mean that you're limited to what you can do directly on the server, and in this course you'll learn everything you need to know to manage your Farm remotely, whether you are using Office 365 or an on-premises installation. And finally, sometimes the out of the box cmdlets just aren't enough - so we'll teach you how to create your own custom cmdlets that you can deploy to your SharePoint Farm. After completing this course, you'll be on your way to becoming a SharePoint superstar, with the core knowledge you need to start administering and automating SharePoint using Windows PowerShell.

About the author
About the author

Gary is a founder and director at Aptillon, Inc. and a SharePoint MVP who has been architecting, planning, and implementing SharePoint solutions since early 2007.

Section Introduction Transcripts
Section Introduction Transcripts

Introduction to PowerShell for SharePoint
Hello, this is Gary Lapointe. Welcome to this Introduction to PowerShell for SharePoint 2010 and SharePoint 2013 module. During this module, I'll focus on the basics of PowerShell, all with an emphasis on SharePoint. At the conclusion of this module, we should have enough basic knowledge to start working with SharePoint via the SharePoint Management Shell. As you can see from the agenda, we'll start with what you need to get started. Including why you should care about any of this. And the permissions you need to use the SharePoint Management Shell. We'll then move on to explain how you can find and use the various pieces of the puzzle that are available to us. And I'll close out this module with filter and advance clean up considerations. During the module I'll also perform a couple quick demos to further illustrate the concepts.

Scripting with PowerShell & SharePoint
Hello this is Gary Lapointe, welcome to the second module of the SharePoint and PowerShell course. In this module, I'll be covering scripting with PowerShell and SharePoint. In the previous module, I focused on core PowerShell capabilities. The kinds of things that you'll typically do in a PowerShell console window. During this module, I want to move beyond what we can do in the console, and focus on what you need to know to create more complex routines and scripts. To start the module, I'll walk you through common control flow constructs, such as conditional logic and iteration capabilities. I'll then move on to creating reusable blocks of code using functions and scripts. And to conclude the module, I'll cover basic error handling capabilities. During the module I'll also perform a couple of quick downloads to further illustrate the concepts.

PowerShell V3 + SharePoint 2013
Hello. This is Gary Lapointe. Welcome to this third module, the SharePoint and PowerShell Course. In this module, I'll be covering the new features provided by PowerShell V3. In the previous modules, I demonstrated the core PowerShell capabilities that you could use with either SharePoint 2010 or SharePoint 2013. In this module, I'll focus on the new features provided by PowerShell V3, all of which will be specific to SharePoint 2013. However, I will first briefly discuss PowerShell V3 and SharePoint 2010. I'll then move on to the specific SharePoint 2013 PowerShell changes. As you'll see shortly there's not much specific to SharePoint 2013 when it comes to PowerShell V3. So the bulk of this module will be reviewing some of my more favorite PowerShell V3 improvements which you can leverage regardless of whether SharePoint is involved. And of course, I'll put a SharePoint spin in all of the information, so that you can gain a better understanding of how these improvements might help you in the context of working with SharePoint. During the module, I'll also perform a couple of quick demos to further illustrate the concepts.

PowerShell & Office 365
Hello, this is Gary Lapointe. Welcome to this next module of the SharePoint and PowerShell course. In this module, I'll be covering PowerShell and Office 365. In the previous modules, I demonstrated the core PowerShell capabilities that you could use with the on premises version of either SharePoint 2010 or SharePoint 2013. In this module, I'll focus on the new SharePoint related PowerShell capabilities that we have with the 2013 version of Office 365. I'll start by detailing the requirements to working with SharePoint and Office 365. I'll then cover the cmdlets that are available to us and walk through specific usage of those cmdlets related to site collection management. During the module, I'll also perform a couple of quick demos to further illustrate the concepts.

PowerShell Remoting
Hello. This is Gary Lapointe. Welcome to this next module of the SharePoint PowerShell course. In this module, I'll be covering how to connect to your SharePoint farm remotely, using Windows PowerShell Remoting. In the last module, I covered how you could remotely manage your Office 365 SharePoint environment. In this module, we'll switch gears back to on premises SharePoint installations, as we take a look at how you can use PowerShell from you client machine, to remotely connect to and manage our on premises SharePoint farm. The first thing I'll cover, before we get into the technical stuff is why you should even be considering using PowerShell remote intermanager environment. Because you're watching this module now, you probably already have some reasons for wanting to do it, but perhaps I can provide one or two more that might encourage you to use it more. I'm then going to move on to the meat of the module where I'll cover how to enable remoting, how to get connected to your remote server, and finally, how to actually run some commands. To wrap things up, I'll talk about how you can create custom session configurations to make connecting to your SharePoint environment a little easier. And of course I'll tie it all together with a short demo to better illustrate the concepts covered.

Creating Custom Cmdlets for SharePoint
Hello, this is Gary Lapointe. Welcome to this module on creating custom cmdlets for SharePoint. In the previous modules for this course, I've demonstrated how you can use the existent out of the box SharePoint cmdlets directly, or as part of a larger script to achieve a variety of tasks. Sometimes however, the out of the box stuff just isn't enough. And you may need to extend the SharePoint cmdlets by adding your own. In this module, I'll start out by talking about why you might want to do that, and then I'll jump into detail on how you would do it. This includes a discussion of the core assemblies and base classes used. The XML files that identify your custom cmdlets. And finally, the creation of custom PipeBind objects to help make your cmdlets more user friendly. And of course, I'll throw in a couple demos along the way to demonstrate the concepts covered.