Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PowerShellRunspacePoolResource

Handle
📦 CommunityToolkit.Aspire.Hosting.PowerShell v13.6.1
type PowerShellRunspacePoolResource interface {
Resource
ResourceWithWaitSupport
}

Methods

methodAddScriptbuilder
Adds a PowerShell script resource to the distributed application.
AddScript(
name string,
script string,
) PowerShellScriptResource
namestring
scriptstring
PowerShellScriptResource

Returns a handle; failures surface later via Err().