Get-​Azure​Rm​Data​Lake​Store​Item​Permission

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

Syntax

Get-AzureRmDataLakeStoreItemPermission
   [-Account] <String>
   [-Path] <DataLakeStorePathInstance>
   [<CommonParameters>]

Description

The Get-AzureRmDataLakeStoreItemPermission cmdlet gets the the permission octal of a file or folder in Data Lake Store.

Examples

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.

Required Parameters

-Account

Specifies the Data Lake Store account name.

Type:String
Aliases:AccountName
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Path

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

Type:DataLakeStorePathInstance
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

string

The string representation of the ownership octal

Notes

  • Alias: Get-AdlStoreItemPermission