- Powershell Core 6.2 Cookbook
- Jan Hendrik Peters
- 47字
- 2021-06-24 15:14:33
Creating classes
To create your own classes in PowerShell, you have two options. You can use either .NET with C# to create your class, or you can use the PowerShell class language element.
Both have their pros and cons, which we will see in the following recipe.