Skip to content
DocsTry Aspire
DocsTry

PowerShellRunspacePoolResource

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

Methods

methodaddScriptbuilder
Adds a PowerShell script resource to the distributed application.
addScript(
name: string,
script: string): PowerShellScriptResource
namestring
scriptstring
PowerShellScriptResource