Posts Tagged ‘HandsOnLab’


 

Creating Objects in Windows PowerShell

Monday, October 26th, 2015 by June Blender
Applies to: PowerShell 5.0.10240 I was recently in the beautiful city of Copenhagen, Denmark, where I was the guest of PSUG.DK, PowerShell User Group in Denmark. We met in the swanky Microsoft offices for a hands-on about classes in Windows PowerShell 5.0. Microsoft Offices, Copenhagen, Denmark. In the hands-on lab, we create a class, create instances of the class, and add constructors, properties and methods. Then, we try some of the more advanced features, like static properties and methods, inheritance, and interfaces. To keep the class in a reasonably brief, when we create objects, I show New-Object and the New…   More »