Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PowerShellScriptResource.WithArgs

Method
📦 CommunityToolkit.Aspire.Hosting.PowerShell v13.6.1
type PowerShellScriptResource interface {
// ... omitted for brevity
WithArgs(args []string) PowerShellScriptResource
}

Signature

methodWithArgsbuilder
WithArgs(args []string) PowerShellScriptResource
args[]string
PowerShellScriptResource

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

Defined on

This method is defined on the following type: