PDQ.com mobilePDQ.com desktop
Support
recap-webcast V2

Webcast Recap: PowerShell is Classier Than You

Brook AllredBrook Allred
·

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?

Why use classes over functions with PowerShell

Class Basics

PowerShell class basics

Creating an example class object

Using PowerShell to create an example class object

Where PowerShell classes fall short

Where PowerShell classes fall short

Creating a bar and adding drinks 

Creating a bar and adding drinks

Using the variable ‘$This’

Using the variable '$This'

Q&A Question 1

question 1

Q&A Question 2

Question 2

Q&A Question 3

Question 4

Q&A Question 4

Question 4

Q&A Question 5

Question 5

Q&A

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.

 

Don't miss the next post!

How PowerShell can calculate your retirement

How PowerShell can track 401K growth

In this blog, I use PowerShell to focus and build a 401k calculator because its tax advantages make it ideal to build your retirement nest egg.

PowerShell