How can I execute an unexported module function in PowerShell?

43 Views Asked by At

I have a module that I'm working on that only exports a few of its functions.

For testing, I sometimes want to execute unexported module functions (or read $script: variables, etc).

How can I do that (without exporting those functions)?

Disclaimer: I work for Microsoft.

0

There are 0 best solutions below