Github user bostko commented on the issue:
https://github.com/apache/brooklyn-server/pull/157
> Rather than call C:\invoke-command-credssp.ps1 -Command "my arguments",
instead have invoke-command-credssp.ps1 export a function such as
Invoke-Command-Credssp, which would then be consumed by importing the function
and calling Invoke-Command-Credssp "my arguments"
Exporting a function in Powershell is within the session right?
I find it tedious to export such function when want to use this script
I think it is simpler to use it in a blueprint as a simple native command
like this:
`powershell -command C:\brooklyn-invoke-command-credssp.ps1 -Command
C:\installorcl.bat`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---