Learn PowerShell Classes NOW! Intro to PowerShell Classes

preview_player
Показать описание
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

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!
Рекомендации по теме
welcome to shbcf.ru