< Back

Get-AzureRmDataLakeStoreItemPermission

Tue Jan 29, 2019 9:44 pm

NAME Get-AzureRmDataLakeStoreItemPermission



SYNOPSIS

Gets the permission octal of a file or folder in Data Lake Store.





SYNTAX

Get-AzureRmDataLakeStoreItemPermission [-Account] <String> [-Path] <DataLakeStorePathInstance> [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataLakeStoreItemPermission cmdlet gets the the permission octal 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



-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



-Path <DataLakeStorePathInstance>

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



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

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

string

The string representation of the ownership octal





NOTES





* Alias: Get-AdlStoreItemPermission



Example 1: Set the permission octal for a file



PS C:\\>Get-AzureRmDataLakeStoreItemPermission -AccountName "ContosoADL" -Path "/file.txt"



This command gets the permission octal for a file.







RELATED LINKS

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

Set-AzureRmDataLakeStoreItemPermission