Skip to content

Guidelines for creating remote-enabled functions #112

Open
@mlanderos

Description

@mlanderos

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions