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

Inline Script Capability in Power Shell on Target Machines #2093

Closed
zechariahks opened this issue Jul 17, 2016 · 3 comments
Closed

Inline Script Capability in Power Shell on Target Machines #2093

zechariahks opened this issue Jul 17, 2016 · 3 comments

Comments

@zechariahks
Copy link

Can we have the Inline Script capability in PowerShell on Target Machines task as it is there on PowerShell Task. If we have this functionality we don't have to write a script and check in, we can simply call them from inline script itself.

@RoopeshNair
Copy link
Member

@zechariahks,

Current design of the task expects the script / dependent scripts to be on the target or is accessible from the target. We don't have inline-scripting feature planned for "PS on target" task. Contributions welcome

On a related note, checked-in script is recommended as it promotes config-as-code tenet

@ThePickNick
Copy link

I like that feature too, inline script is much more convenient as on some targeted machine we are tying to execute script does not exist.

@kmkumaran
Copy link
Member

@ThePickNick - Inline scripting is now available from 3.* version of the PowerShell on Target task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants