PowerShell Classes Part 5 -- Classes or PSCustom Objects?
Custom PowerShell objects are one way to represent a set of data as a single object and so are PowerShell classes. In this article, take a look at some of the similarities and differences between the two object structures so that you can best define custom objects for your needs.
Oct 5, 2017
PowerShell Classes Part 4 -- Constructors and Inheritance
Take your PowerShell class programming to the next level! Define constructors to simplify the creation of the classes, and use inheritance to create a hierarchy of classes and subclasses that inherit properties and methods.
Sep 20, 2017
PowerShell Classes Part 3 -- Using Methods
In part 3 of the PowerShell Class series, Missy Januszko discusses how to define methods to perform actions against an instance of the class.
Sep 13, 2017
PowerShell Classes Part 2 -- Enumerated Types
In the second part of the series on PowerShell classes, learn how and where to declare constant values using Enums and explore the differences between enums and ValidateSet.
Aug 28, 2017
Creating Your First PowerShell Class
Take your PowerShell programming to a new level by learning how to use classes.
Jul 28, 2017
Unraveling the Mystery of $MyInvocation
Missy Januszko explores the uses of $MyInvocation.
Jul 5, 2017
Most popular on petri
Thank you to our petri.com site sponsors
Our sponsors help us keep our knowledge base free.