PowerShell classes are Powerful if you learn how to use them. In this video, we cover the basics.
Create a class
Create a constructor
Create some methods
🔔 Subscribe to become a PowerShell Pro! / @matthewdaugherty462
00:00 Intro
02:00 Create Class for Car
02:30 Properties for Class
03:50 Constructor explained (empty Constructor)
04:48 Create Car object in PowerShell
05:35 Manually assign object Properties
06:40 Constructor Required Paramters
07:00 Explain $this
10:50 Create Start() Method
14:25 Show start() method in action
17:00 Add Stop() method
18:47 ApiClient Class Overview
23:03 Hidden Property
24:00 Use the Force Luke to see the hidden Properties!
Watch video Learn PowerShell Classes NOW! Intro to PowerShell Classes online without registration, duration hours minute second in high quality. This video was added by user PowerShellNerd 29 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 428 once and liked it 19 people.