You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Using variable cannot be retrieved.
A Using variable can be used only with Invoke-Command, Start-Job, or InlineScript
in the script workflow.
When it is used with Invoke-Command, the Using variable is valid only if the script block is invoked on a remote computer.
This appears to be the same bug as in PowerShell itself (not sure how code is shared): PowerShell/PowerShell#4530
As an aside re the error message:
Since Start-ThreadJob now ships with PowerShell, the error message should probably mention it as well.
The reference to workflows should probably be removed.
The text was updated successfully, but these errors were encountered:
To next best thing to having a
-WorkingDirectory
parameter (hopefully soon, see #44) is to try something like the following:However, this currently fails:
This appears to be the same bug as in PowerShell itself (not sure how code is shared): PowerShell/PowerShell#4530
As an aside re the error message:
Start-ThreadJob
now ships with PowerShell, the error message should probably mention it as well.The text was updated successfully, but these errors were encountered: