Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

Creating Class Based PowerShell Tools Demos

Posted on May 2, 2016

PUGS_logoDuring my recent trip to Sweden, I had an opportunity to do a presentation for the PowerShell User Group Sweden. It was a big turn out and I appreciate everyone who attended.  My talk was on using the new class feature in PowerShell 5.0 to create new types of PowerShell tools. Classes were introduced to make it easier to create DSC resources, but there's no reason we can't use them for other purposes.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

I started with a quick intro into classes and then walked through a series of demos created a new tool using PowerShell classes. I have posted my demo files on GitHub. There were no slides.  The demo files are for educational purposes only and the final result is by no means production worthy, nor does it represent everything you could do.

The files are open to anyone interested. If you have questions on them, feel free to leave a comment.  And even though they are on Github, this isn't an active project. I will probably revise these files as I use them in other presentations. Otherwise, enjoy and learn.


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

2 thoughts on “Creating Class Based PowerShell Tools Demos”

  1. Kiersten says:
    May 19, 2016 at 4:32 pm

    I’ll immediately snatch your rss feed as I can’t to find your
    e-mail subscription hyperlink or newsletter service.
    Do you’ve any? Please let me realize in order that I may subscribe.
    Thanks.

    1. Jeffery Hicks says:
      May 19, 2016 at 5:23 pm

      On the main page, in the left hand column at the top you should see an icon for an RSS feed and just below that a link that says “Join my email list” which should take you here: http://eepurl.com/bj0erj

Comments are closed.

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d