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

feat: Implement a PowerShell example #43

Merged

Conversation

Ahuge
Copy link
Contributor

@Ahuge Ahuge commented Jun 17, 2024

This example shows an environment script that calls a PowerShell script onEnter and onExit.

This shows the required -File <script> arguments as well as the filename: script.ps1 naming requirement so that our PowerShell script can be executed by PowerShell.

Please choose the format that best matches the purpose of this pull request. Delete the top-level header of the chosen
section as well as all other sections.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This example shows an environment script that calls a PowerShell script
onEnter and onExit.

This shows the required `-File <script>` arguments as well as the
`filename: script.ps1` naming requirement so that our PowerShell script
can be executed by PowerShell.

Signed-off-by: Alex Hughes <ahughesalex@gmail.com>
@Ahuge Ahuge requested a review from a team as a code owner June 17, 2024 18:37
Signed-off-by: Alex Hughes <ahughesalex@gmail.com>
Copy link
Contributor

@ddneilson ddneilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the sample, Alex!

@ddneilson ddneilson merged commit 70974cc into OpenJobDescription:mainline Jun 17, 2024
4 checks passed
@Ahuge Ahuge deleted the ah/chore/environment-samples branch June 17, 2024 18:47
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

Successfully merging this pull request may close these issues.

2 participants