-
Notifications
You must be signed in to change notification settings - Fork 0
Get BapEnvironmentOperation
Get environment life cycle operation info
Get-BapEnvironmentOperation [-EnvironmentId] <String> [-LatestOnly] [-AsExcelOutput]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Enables the user to query and validate all life cycle operations for a specific environment
Get-BapEnvironmentOperation -EnvironmentId "env-123"
This will retrieve all environment operations for the specified environment id.
Get-BapEnvironmentOperation -EnvironmentId "env-123" -LatestOnly
This will retrieve only the latest environment operation for the specified environment id. It is based on the created date.
Get-BapEnvironmentOperation -EnvironmentId "env-123" -AsExcelOutput
This will retrieve all environment operations for the specified environment id. Will output all details into an Excel file, that will auto open on your machine.
The id of the environment that you want to work against
Type: String
Parameter Sets: (All)
Aliases: PpacEnvId
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseInstructs the cmdlet to return only the latest operation.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to export the results to an Excel file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)