Is there a way to force PowerShell to reload a module when using module .\MyModule.psm1?
Normally I would use Import-Module .\MyModule.psm1 -Force but since I am using enum and class C# style this won't do; since enum and class are not visible outside the module if I use Import-Module.
I cannot use first Import-Module and then using module as using module must be on first row.
My PSVersion is 5.1.14409.1005