Webcast Recap: PowerShell is Classier Than You

Brook Allred headshot
Brook Allred|July 16, 2019
recap-webcast V2
recap-webcast V2

PowerShell Classes

Last week on PDQ Live, we went over PowerShell classes and when, why, and how to use them.

Why use classes over functions with PowerShell
PowerShell class basics
Using PowerShell to create an example class object

Where PowerShell classes fall short

Where PowerShell classes fall short
Creating a bar and adding drinks
Using the variable '$This'
question 1
Question 2
Question 4
Question 4
Question 5


Besides the awesome content on PDQ.com are there any sites you’d recommend for PS newbies to help hone their lacking PS skills?

  • PowerShell In A Month Of Lunches by Don Jones

  • PowerShell.org

  • PowerShell Slack channel

What modules do you recommend to add to PowerShell?

  • Active directory and Exchange modules

  • JiraPS

  • PSReadLine

  • Pester

  • PoshBot

Could you show how to sort your current example list?

$PDQBrews.Stock | Sort-Object name | Select-Object name

What do you do to PowerShell on a new installation of Windows 10? What do you tweak/add?

Customize the text color, font, and error color

Run Update-Help

Update Pester if you use it

Who drinks the most “apple juice” at PDQ.com?

Most likely Shane or Lex by dollar.

Swag Winners

  • Rich B.

  • Brian G.

Brook Allred headshot
Brook Allred

Brook is 100% definitely a human and enjoys human activities such as sleeping, correctly solving captchas, and eating food for energy. He's been sentient a sysadmin for ten years.

Related articles