Make that only the calling module can call command registered by it. This will avoid cross module name conflicts. Add module parameter to the invoke-MyCommand function. Add check that the parameter equals the Alias command module.
Make that only the calling module can call command registered by it.
This will avoid cross module name conflicts.
Add module parameter to the invoke-MyCommand function.
Add check that the parameter equals the Alias command module.