YUNOVA · PowerShell · Module 11: Advanced PowerShell
PowerShell classes
PowerShell classes
Key points
- Classes are defined with the class keyword and hold properties and methods.
- Constructors set up a new object when it is created.
- Classes can inherit from another class to reuse its members.