< Back

Remove-AzureRmDataLakeStoreItemAclEntry

Tue Jan 29, 2019 9:45 pm

NAME Remove-AzureRmDataLakeStoreItemAclEntry



SYNOPSIS

Removes an entry from the ACL of a file or folder in Data Lake Store.





SYNTAX

Remove-AzureRmDataLakeStoreItemAclEntry [-Account] <String> [-Path] <DataLakeStorePathInstance> [-AceType] {User | Group | Mask | Other} [[-Id]

<Guid>] [[-Default]] [-DefaultProfile <IAzureContextContainer>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]



Remove-AzureRmDataLakeStoreItemAclEntry [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Acl] <DataLakeStoreItemAce[]> [-DefaultProfile

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





DESCRIPTION

The Remove-AzureRmDataLakeStoreItemAclEntry cmdlet removes an entry (ACE) from the access control list (ACL) of a file or folder in Data Lake

Store.





PARAMETERS

-Account <String>

Specifies the name of the Data Lake Store account.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-AceType <AceType>

Specifies the type of ACE to remove. The acceptable values for this parameter are:



- User



- Group



- Mask



- Other



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Acl <DataLakeStoreItemAce[]>

Specifies the ACL object that contains the entries to be removed.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-Default [<SwitchParameter>]

Indicates that this operation removes the default ACE from the specified ACL.



Required? false

Position? 4

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



-Id <Guid>

Specifies the object ID of the AzureActive Directory user, group, or service principal for which to remove an ACE.



Required? false

Position? 3

Default value None

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 from which to remove an ACE, 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

DataLakeStoreItemAce[]

Parameter 'Acl' accepts value of type 'DataLakeStoreItemAce[]' from the pipeline





OUTPUTS

bool

If PassThru is specified, returns true upon successful completion.





NOTES









Example 1: Remove a user entry



PS C:\\>Remove-AzureRmDataLakeStoreItemAclEntry -AccountName "ContosoADL" -Path / -AceType User -Id (Get-AzureRmADUser -Mail

"PattiFuller@contoso.com").ObjectId



This command removes the user ACE for Patti Fuller from the ContosoADL account.







RELATED LINKS

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

Set-AzureRmDataLakeStoreItemAclEntry