< Back
Remove-AzureStorageTableStoredAccessPolicy
Post
NAME Remove-AzureStorageTableStoredAccessPolicy
SYNOPSIS
Removes a stored access policy from an Azure storage table.
SYNTAX
Remove-AzureStorageTableStoredAccessPolicy [-Table] <String> [-Policy] <String> [-Context <IStorageContext>] [-PassThru] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
The Remove-AzureStorageTableStoredAccessPolicy cmdlet removes a stored access policy from an Azure storage table.
PARAMETERS
-Context <IStorageContext>
Specifies an Azure storage context. To obtain a storage context, use the New-AzureStorageContext cmdlet.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates that this cmdlet returns a Boolean that reflects the success of the operation. By default, this cmdlet does not return a value.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Policy <String>
Specifies the name of the stored access policy that this cmdlet removes.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Table <String>
Specifies the Azure table name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
IStorageContext
Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline
OUTPUTS
System.Boolean
NOTES
Example 1: Remove a stored access policy from a storage table
PS C:\\>Remove-AzureStorageTableStoredAccessPolicy -Table "MyTable" -Policy "Policy05"
This command removes policy named Policy05 from storage table named MyTable.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cesspolicy
Get-AzureStorageTableStoredAccessPolicy
New-AzureStorageContext
New-AzureStorageTableStoredAccessPolicy
Set-AzureStorageTableStoredAccessPolicy
SYNOPSIS
Removes a stored access policy from an Azure storage table.
SYNTAX
Remove-AzureStorageTableStoredAccessPolicy [-Table] <String> [-Policy] <String> [-Context <IStorageContext>] [-PassThru] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
The Remove-AzureStorageTableStoredAccessPolicy cmdlet removes a stored access policy from an Azure storage table.
PARAMETERS
-Context <IStorageContext>
Specifies an Azure storage context. To obtain a storage context, use the New-AzureStorageContext cmdlet.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates that this cmdlet returns a Boolean that reflects the success of the operation. By default, this cmdlet does not return a value.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Policy <String>
Specifies the name of the stored access policy that this cmdlet removes.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Table <String>
Specifies the Azure table name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
IStorageContext
Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline
OUTPUTS
System.Boolean
NOTES
Example 1: Remove a stored access policy from a storage table
PS C:\\>Remove-AzureStorageTableStoredAccessPolicy -Table "MyTable" -Policy "Policy05"
This command removes policy named Policy05 from storage table named MyTable.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cesspolicy
Get-AzureStorageTableStoredAccessPolicy
New-AzureStorageContext
New-AzureStorageTableStoredAccessPolicy
Set-AzureStorageTableStoredAccessPolicy