Start-​Azs​Reclaim​Storage​Capacity

Forces garbage collection of all deleted storage accounts, regardless of the retention period setting.

Syntax

Start-AzsReclaimStorageCapacity
     [-Confirm]
     [-SkipCertificateValidation]
     [-WhatIf]
     [<CommonParameters>]

Description

The Start-AzsReclaimStorageCapacity cmdlet forces garbage collection of all deleted storage accounts, regardless of the retention period setting.

Examples

Example 1

$jobid = Start-AzsReclaimStorageCapacity

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation

Indicates that the cmdlet does not validate the certificate.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False