external help file | Module Name | ms.assetid | online version | schema |
---|---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.DataLakeStore.dll-Help.xml |
Az.DataLakeStore |
335588D4-4D2C-4DBD-B6B2-B1227C4AF9A9 |
2.0.0 |
Gets the owner of a file or folder in Data Lake Store.
Get-AzDataLakeStoreItemOwner [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Type] <Owner>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
The Get-AzDataLakeStoreItemOwner cmdlet gets the owner of a file or folder in Data Lake Store.
Get-AzDataLakeStoreItemOwner -AccountName "ContosoADL" -Path / -Type User
This command gets the user owner for the root directory of the ContosoADL account.
Specifies the name of the Data Lake Store account.
Type: System.String
Parameter Sets: (All)
Aliases: AccountName
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The credentials, account, tenant, and subscription used for communication with azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Data Lake Store path of an item, starting with the root directory (/).
Type: Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStorePathInstance
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the type of owner to get. The acceptable values for this parameter are: User and Group.
Type: Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStoreEnums+Owner
Parameter Sets: (All)
Aliases:
Accepted values: User, Group
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).