Skip to content

Make it clear that $using is also needed for background jobs (not just in remoting) #5068

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

Closed
mklement0 opened this issue Nov 8, 2019 · 2 comments · Fixed by #5587 or #5596
Closed
Assignees
Labels
area-language Area - PowerShell syntax and keywords

Comments

@mklement0
Copy link
Contributor

mklement0 commented Nov 8, 2019

The$using: scope is needed not just in remoting, but also when running background jobs (both with Start-Job and Start-ThreadJob), and when using ForEach-Object -Parallel.

This fact should be mentioned in this help topic.

Also, the See also section should link to about_Variables.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@sdwheeler sdwheeler added the area-language Area - PowerShell syntax and keywords label Nov 8, 2019
@mklement0
Copy link
Contributor Author

https://stackoverflow.com/a/60012780/45375 now contains the kind of summary that I wish the docs offered (it is a bit dense, but hopefully can serve as a starting point).

@Jawz84
Copy link
Contributor

Jawz84 commented Feb 25, 2020

I'm working on a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Area - PowerShell syntax and keywords
Projects
None yet
4 participants