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.