Open
Description
Hi,
I have been searching the web for any guidelines, examples or best practices for when you want to create functions within or not within a module that allows for local and remote execution, but I haven't found anything.
A good example is the Get-Service cmdlet. If you specify the ComputerName parameter, the cmdlet knows how to handle executing this the specified host. If the ComputerName parameter is not used, then the cmdlet executes on the local computer.
Any help or guidance is really appreciated.
Thanks,
Michael