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

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.

How to run GPResult on a remote client with PowerShell

In the past, to run the GPResult command, you would need to either physically visit this client, have the user do it, or use and RDP connection.  In all cases, this will disrupt the user.  First, you need PowerShell remoting enabled on the target machine.  You can do this via Group Policy . Open PowerShell and type this command. Invoke-Command –ScriptBlock {GPResult /r} –ComputerName <ComputerName> Replace <ComputerName> with the name of the target.  Remember, the target needs to be online and accessible to you.

Error icon when creating a GPO Preference drive map

You may not have an error at all.  Take a look at the drive mapping below. The red triangle is what threw us off.  It is not an error.  It is simply a color representation of the Replace option of the Action field in the properties of the drive mappings. Create action This give you a green triangle. The Create action creates a new mapped drive for users. Replace Action The Replace action gives you a red triangle.  This action will delete and recreate mapped drives for users. The net result of the Replace action is to overwrite all existing settings associated with the mapped drive. If the drive mapping does not exist, then the Replace action creates a new drive mapping. Update Action The Update action will have a yellow triangle. Update will modify settings of an existing mapped drive for users. This action differs from Replace in that it only updates settings defined within the preference item. All other settings remain as configured on the mapped drive. If the