Reputation: 11274
Didn't find any information it by googling. Is it possible to somehow organize own PowerShell 5 classes in namespaces?
Upvotes: 4
Views: 2285
Ok, at the end I used the layout/code described under this link. To import the classes I had to use using module ..\..\Classes. As described here I couldn't use Import-Module, since this cmdlet won't import any classes.
using module ..\..\Classes
Import-Module
Upvotes: 3