< Back
Get-FileShareAccessControlEntry
Post
NAME Get-FileShareAccessControlEntry
SYNOPSIS
Retrieves an access control entry for the share corresponding to a single account.
SYNTAX
Get-FileShareAccessControlEntry [-CimSession <CimSession[]>] [-FileServer <CimInstance>] [-ThrottleLimit <Int32>] -Name <String[]> [<CommonParameters>]
Get-FileShareAccessControlEntry [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] -UniqueId <String[]> [<CommonParameters>]
Get-FileShareAccessControlEntry [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
DESCRIPTION
The Get-FileShareAccessControlEntry cmdlet retrieves an access control entry for the share corresponding to a single account. You must have local
administrator permissions on the specified server to run this cmdlet.
PARAMETERS
-CimSession [<CimSession[]>]
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or
Get-CimSession cmdlet. The default is the current session on the local computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-FileServer [<CimInstance>]
Specifies the file server which hosts the file share that this cmdlet gets. To obtain a FileServer object, use the Get-StorageFileServer cmdlet.
Required? false
Position? named
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-Name <String[]>
The name of an object or setting.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ThrottleLimit [<Int32>]
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is
entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the
computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-UniqueId <String[]>
Specifies the UniqueId of the file share.
Required? true
Position? named
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Get the access control entry for a share on a file server
PS C:\\>Get-FileShareAccessControlEntry -Name "VirtualMachines" -FileServer (Get-StorageFileServer -FriendlyName "FileServer01")
This command gets the access control entry for the VirtualMachines share on the FileServer01 file server. You must have local administrator permissions
on the specified server to run this command. The command uses the Get-StorageFileServer to get the file server.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816380
Get-StorageFileServer
SYNOPSIS
Retrieves an access control entry for the share corresponding to a single account.
SYNTAX
Get-FileShareAccessControlEntry [-CimSession <CimSession[]>] [-FileServer <CimInstance>] [-ThrottleLimit <Int32>] -Name <String[]> [<CommonParameters>]
Get-FileShareAccessControlEntry [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] -UniqueId <String[]> [<CommonParameters>]
Get-FileShareAccessControlEntry [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
DESCRIPTION
The Get-FileShareAccessControlEntry cmdlet retrieves an access control entry for the share corresponding to a single account. You must have local
administrator permissions on the specified server to run this cmdlet.
PARAMETERS
-CimSession [<CimSession[]>]
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or
Get-CimSession cmdlet. The default is the current session on the local computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-FileServer [<CimInstance>]
Specifies the file server which hosts the file share that this cmdlet gets. To obtain a FileServer object, use the Get-StorageFileServer cmdlet.
Required? false
Position? named
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-Name <String[]>
The name of an object or setting.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ThrottleLimit [<Int32>]
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is
entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the
computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-UniqueId <String[]>
Specifies the UniqueId of the file share.
Required? true
Position? named
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Get the access control entry for a share on a file server
PS C:\\>Get-FileShareAccessControlEntry -Name "VirtualMachines" -FileServer (Get-StorageFileServer -FriendlyName "FileServer01")
This command gets the access control entry for the VirtualMachines share on the FileServer01 file server. You must have local administrator permissions
on the specified server to run this command. The command uses the Get-StorageFileServer to get the file server.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816380
Get-StorageFileServer