Out PodeVariable - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Utilities schema: 2.0.0
Defines variables to be created when the Pode server stops.
Out-PodeVariable -Name <String> [[-Value] <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Allows you to define a variable, with a value, that should be created on the in the main scope after the Pode server is stopped.
Out-PodeVariable -Name ExampleVar -Value @{ Name = 'Bob' }
The Name of the variable to be set
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
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
The Value of the variable to be set
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
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.