Author Posts

June 27, 2016 at 2:12 am

I've been messing about with some of the new class based programming mainly for DSC resources. I've seen how to do most of the OOP programming such as classes, inheritance, get/set, properties, methods.

Does anyone know if there is a native way to use interfaces in the new powershell?

June 27, 2016 at 7:58 am

As I recall, you can implement interfaces, but you can't define new ones. Not sure if they'll add that in the future or not.