I have a module xy which has several functions for the end user and several internal helper functions called by functions but not by the end user.
Get-Command -Module xy -CommandType function
lists all functions I have in my module folder (e.g. get-foo
and get-foo_helper
)
Is there a way to hide get-foo_helper
function from the end user who is using:
Get-Command -Module tcaps -CommandType function
question from:https://stackoverflow.com/questions/6032344/how-to-hide-helper-functions-in-powershell-modules