< Back

Disable-AzureStorageDeleteRetentionPolicy

Tue Jan 29, 2019 9:26 pm

NAME Disable-AzureStorageDeleteRetentionPolicy



SYNOPSIS

Disable delete retention policy for the Azure Storage Blob service.





SYNTAX

Disable-AzureStorageDeleteRetentionPolicy [-Context <IStorageContext>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Disable-AzureStorageDeleteRetentionPolicy cmdlet disables delete retention policy for the Azure Storage Blob service.





PARAMETERS

-Context <IStorageContext>

Azure Storage Context Object



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Display DeleteRetentionPolicyProperties



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext







OUTPUTS

Microsoft.WindowsAzure.Commands.Storage.Model.ResourceMode.PSSeriviceProperties







NOTES









Example 1: Disable delete retention policy for the Blob service



C:\\PS>Disable-AzureStorageDeleteRetentionPolicy



This command disables delete retention policy for the Blob service.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tionpolicy