Skip to content
Docs Try Aspire
Docs Try

PowerShellRunspacePoolResource

Handle
📦 CommunityToolkit.Aspire.Hosting.PowerShell v13.4.0
interface PowerShellRunspacePoolResource
extends IResource,
IResourceWithWaitSupport,
IDisposable {
addScript(
name: string,
script: string): PowerShellScriptResource;
}

Methods

method addScript builder
Adds a PowerShell script resource to the distributed application.
addScript(
name: string,
script: string): PowerShellScriptResource
name string
script string
PowerShellScriptResource