< Back

Remove-AzureRmDataLakeStoreItemAcl

Tue Jan 29, 2019 9:45 pm

NAME Remove-AzureRmDataLakeStoreItemAcl



SYNOPSIS

Clears the ACL of a file or folder in Data Lake Store.





SYNTAX

Remove-AzureRmDataLakeStoreItemAcl [-Account] <String> [-Path] <DataLakeStorePathInstance> [[-Default]] [[-Force]] [-DefaultProfile

<IAzureContextContainer>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmDataLakeStoreItemAcl cmdlet clears the access control list (ACL) of a file or folder in Data Lake Store.





PARAMETERS

-Account <String>

Specifies the Data Lake Store account name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Default [<SwitchParameter>]

Indicates that the cmdlet removes the default ACL for a file or a folder.



Required? false

Position? 2

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? 3

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Indicates a boolean response should be returned indicating the result of the delete operation.



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Path <DataLakeStorePathInstance>

Specifies the Data Lake Store path of the item, starting with the root directory (/).



Required? true

Position? 1

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

None

This cmdlet does not accept any input.





OUTPUTS

bool

If PassThru is specified, returns true upon successful completion.





NOTES





* Alias: Remove-AdlStoreAcl



Example 1: Remove the ACL from a folder



PS C:\\>Remove-AzureRmDataLakeStoreItemAcl -AccountName "ContosoADL" -Path "/"



This command removes the ACL for the root directory for the ContosoADL account.







RELATED LINKS

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

Get-AzureRmDataLakeStoreItemAclEntry

Set-AzureRmDataLakeStoreItemAcl

Set-AzureRmDataLakeStoreItemAclEntry