.NET classes do not only expose object properties and methods, but also static properties and methods. While object members require an object to be accessed, static members do not. These members are defined in the class alongside object members, and often contain helpful methods and properties.
Using static class members
Getting ready
Install and start PowerShell Core.
How to do it...
Perform the following steps:
- Static members do not require an object. To use them, however, we still need to reference the class we are using a member from. To access a method, the type...