Skip to main content

Advanced PowerShell Video Training is now in Early Release

Many of my students have asked for it.  Here it is.  My Advanced PowerShell class on video.

Over the past year I have had the pleasure of working with O’Reilly Media in developing a video training series on advanced PowerShell.  I started delivering PowerShell training in 2009 with Version 1 and have continued to advence my classes through PowerShell 5. This online training is based on the questions from hundreds of my students and the practices that we developed together in class.

My approach is to teach the concepts in small, manageable units.  These units are then assembled into the big picture.  Each chapter has plenty of code and in some cases, templates.

I also included, as part of the introduction, how to build a personal test environment.  Having a sandbox to play in is very important when developing your code.  You can quickly simulate what you need and fine tune your code. 

You can find the early release videos here: Advanced Windows PowerShell Scripting

Below is the course outline.  I hope you will take the time to enhance your skill set and effectiveness as an IT professional with this course.

Introduction
  • Introduction And About The Author 
  • Preparing To Build A Test Environment 
  • Test Environment - Windows Server R2 
  • Test Environment - Windows Server 8.1 and Windows Server R2 - Part 1 
  • Test Environment - Windows Server 8.1 and Windows Server R2 - Part 2 
  • Test Environment - Windows Server 8.1 and Windows Server R2 - Part 3 
  • Installing The Domain Controller 
  • How To Access Your Working Files 


From Scripting To Modules
  • Scope 
  • Creating Our Starting Script
  • Moving To A Function
  • Parameter Validation
  • Using Child Functions
  • Creating A Module


3. Making Modules Like A Rock Star
  • Custom Format Views  
  • Custom Type Extensions  
  • Public And Private Module Members  
  • Error Handling  
  • WMI And CIM - The Keys To Success  
  • .NET - Never Reinvent The Wheel  
  • Building Help Files  
  • Debugging Methods  


4. Advanced Objects
  • Simple Object Creation  
  • Objects From Multiple Sources  
  • Complex Objects And Storage  
  • Accessing Complex Objects  
  • Creating Methods  
  • Creating PowerShell V5 Class Objects - Part 1  
  • Creating PowerShell V5 Class Objects - Part 2  


5. The PowerShell Pipeline
  • Pipeline Overview  
  • ByValue Pipeline  
  • ByPropertyName Pipeline  
  • Filtering Functions  


6. PowerShell Remoting
  • Remoting Overview  
  • Enabling Remoting  
  • One-To-One Remoting  
  • One-To-Many Remoting  
  • Sessions  
  • CIMSessions  


7. PowerShell Specific To A Product
  • Overview  
  • Windows Server  
  • Exchange Server  
  • 8. Grabbing Data From The Internet
  • Finding Sources Of Information  
  • Using External Information  


9. Automating Administration
  • Background Jobs  
  • Scheduled Jobs  
  • Reporting  


10. Conclusion
  • Wrap Up


Comments

Popular posts from this blog

Adding a Comment to a GPO with PowerShell

As I'm writing this article, I'm also writing a customization for a PowerShell course I'm teaching next week in Phoenix.  This customization deals with Group Policy and PowerShell.  For those of you who attend my classes may already know this, but I sit their and try to ask the questions to myself that others may ask as I present the material.  I finished up my customization a few hours ago and then I realized that I did not add in how to put a comment on a GPO.  This is a feature that many Group Policy Administrators may not be aware of. This past summer I attended a presentation at TechEd on Group Policy.  One organization in the crowd had over 5,000 Group Policies.  In an environment like that, the comment section can be priceless.  I always like to write in the comment section why I created the policy so I know its purpose next week after I've completed 50 other tasks and can't remember what I did 5 minutes ago. In the Group Policy module for PowerShell V3, th

Return duplicate values from a collection with PowerShell

If you have a collection of objects and you want to remove any duplicate items, it is fairly simple. # Create a collection with duplicate values $Set1 = 1 , 1 , 2 , 2 , 3 , 4 , 5 , 6 , 7 , 1 , 2   # Remove the duplicate values. $Set1 | Select-Object -Unique 1 2 3 4 5 6 7 What if you want only the duplicate values and nothing else? # Create a collection with duplicate values $Set1 = 1 , 1 , 2 , 2 , 3 , 4 , 5 , 6 , 7 , 1 , 2   #Create a second collection with duplicate values removed. $Set2 = $Set1 | Select-Object -Unique   # Return only the duplicate values. ( Compare-Object -ReferenceObject $Set2 -DifferenceObject $Set1 ) . InputObject | Select-Object – Unique 1 2 This works with objects as well as numbers.  The first command creates a collection with 2 duplicates of both 1 and 2.   The second command creates another collection with the duplicates filtered out.  The Compare-Object cmdlet will first find items that are diffe

How to list all the AD LDS instances on a server

AD LDS allows you to provide directory services to applications that are free of the confines of Active Directory.  To list all the AD LDS instances on a server, follow this procedure: Log into the server in question Open a command prompt. Type dsdbutil and press Enter Type List Instances and press Enter . You will receive a list of the instance name, both the LDAP and SSL port numbers, the location of the database, and its status.