Merge PodeScriptblockArguments - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Utilities schema: 2.0.0
Merges Arguments and Using Variables together.
Merge-PodeScriptblockArguments [[-ArgumentList] <Object[]>] [[-UsingVariables] <Object[]>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Merges Arguments and Using Variables together to be supplied to a ScriptBlock. The Using Variables will be prepended so then are supplied first to a ScriptBlock.
$Arguments = @(Merge-PodeScriptblockArguments -ArgumentList $Arguments -UsingVariables $UsingVariables)
$Arguments = @(Merge-PodeScriptblockArguments -UsingVariables $UsingVariables)
And optional array of Arguments.
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
And optional array of "using-variable" values to be prepended.
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.