Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -Computer Option on Task #325

Open
yangxinyun opened this issue May 5, 2022 · 0 comments
Open

Add -Computer Option on Task #325

yangxinyun opened this issue May 5, 2022 · 0 comments

Comments

@yangxinyun
Copy link

In an enterprise environment, it is not uncommon that certain network traffic to be allowed only from a selected group of servers.
So it would be really useful if psake can integrate support for remote task execution. Similar toolings like ansible, azure devops pipeline offer such flexility.

Expected Behavior

From Psake Task function signature, we should have a parameter that allows us to specify where to run this task. and also a parameter that allows us to specify remote credentials.

Current Behavior

Currently, all tasks can only run locally, which is not suitable for an enterprise environment with a strict security policy.

Possible Solution

Just like Invoke-Command, Start-process, Psake should have parameters ComputerName, Credential.

Context

In the enterprise environment, it is not possible to run all planned tasks on a single machine. The required network connection is not granted to this machine nor should it be.

Your Environment

  • Module version used: Psake 4.9.0
  • Operating System and PowerShell version: 5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant