Skip to main content

Add-AzureExpiredTag

SYNOPSIS

The cmdlet adds an expiredOn tag to all ressources.

SYNTAX

Add-AzureExpiredTag [-TenantID] <String> [-expireOn] <Object> [-keepAlive] [<CommonParameters>]

DESCRIPTION

The cmdlet adds an expiredOn tag to all ressourcesand resource groups. The tag is set to the date specified in the parameter expireOn.

EXAMPLES

PARAMETERS

-TenantID

This parameter is the actual tenant id.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-expireOn

This parameter is the date when the ressources will be deleted.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-keepAlive

This parameter can be used to keep the connection alive.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES