Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithArgs

Method
📦 CommunityToolkit.Aspire.Hosting.PowerShell v13.6.1
func (PowerShellScriptResource) WithArgs(args []string) PowerShellScriptResource

Signature

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

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

Applies to

This method applies to the following types: