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

DefaultRunspace is not set in the async task block that runs in the UDElement component #47

Closed
adamdriscoll opened this issue Mar 20, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@adamdriscoll
Copy link
Member

commented Mar 20, 2018

System.Management.Automation.PSInvalidOperationException: 'There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to invoke was: $this.ServiceName'

@adamdriscoll adamdriscoll added the bug label Mar 20, 2018

@adamdriscoll adamdriscoll added this to the 1.5.2 milestone Mar 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.