microsoft / Requirements

PowerShell framework for declaratively defining and idempotently imposing system configurations
MIT License
159 stars 26 forks source link

Is Remote execution viable use case? #71

Closed gogbg closed 2 years ago

gogbg commented 3 years ago

Is executing requirements on remote machine a viable use case for the tool? For example extending the requirement schema with ComputerName and winrm connectivity details, so that the tool can orchestrate the execution on remote machines.

If so, I can contribute.

FireHelmet commented 2 years ago

Hi @gogbg ,

I'm a user of the module Requirements and I use the cmdlet Invoke-Command another good module if you want to execute the scriptblock with another identity, look Invoke-CommandAs

chriskuech commented 2 years ago

@gogbg, you can use factory functions to construct Requirements with whatever params you want.

gogbg commented 2 years ago

Thanks for the suggestions