Moerwald
Moerwald

Reputation: 11274

How to organize classes in namespaces?

Didn't find any information it by googling. Is it possible to somehow organize own PowerShell 5 classes in namespaces?

Upvotes: 4

Views: 2285

Answers (1)

Moerwald
Moerwald

Reputation: 11274

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.

Upvotes: 3

Related Questions