< Back
Get-AzureRmDataLakeStoreItemOwner
Post
NAME Get-AzureRmDataLakeStoreItemOwner
SYNOPSIS
Gets the owner of a file or folder in Data Lake Store.
SYNTAX
Get-AzureRmDataLakeStoreItemOwner [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Type] {User | Group} [-DefaultProfile
<IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmDataLakeStoreItemOwner cmdlet gets the owner 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
-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 an item, starting with the root directory (/).
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Type <Owner>
Specifies the type of owner to get. The acceptable values for this parameter are: User and Group.
Required? true
Position? 2
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 owner of the specified item.
NOTES
Example 1: Get the owner for a directory
PS C:\\>Get-AzureRmDataLakeStoreItemOwner -AccountName "ContosoADL" -Path / -Type User
This command gets the user owner for the root directory of the ContosoADL account.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eitemowner
Set-AzureRmDataLakeStoreItemOwner
SYNOPSIS
Gets the owner of a file or folder in Data Lake Store.
SYNTAX
Get-AzureRmDataLakeStoreItemOwner [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Type] {User | Group} [-DefaultProfile
<IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmDataLakeStoreItemOwner cmdlet gets the owner 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
-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 an item, starting with the root directory (/).
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Type <Owner>
Specifies the type of owner to get. The acceptable values for this parameter are: User and Group.
Required? true
Position? 2
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 owner of the specified item.
NOTES
Example 1: Get the owner for a directory
PS C:\\>Get-AzureRmDataLakeStoreItemOwner -AccountName "ContosoADL" -Path / -Type User
This command gets the user owner for the root directory of the ContosoADL account.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eitemowner
Set-AzureRmDataLakeStoreItemOwner