NAME
Get-FileShareAccessControlEntry
SYNOPSIS
Retrieves an access control entry for the share corresponding to a single account.SYNTAX
Get-FileShareAccessControlEntry [-CimSession
] [-FileServer ] [-ThrottleLimit ] -Name
[ ] Get-FileShareAccessControlEntry [-CimSession
[] [-ThrottleLimit ] -UniqueId ] Get-FileShareAccessControlEntry [-CimSession
] [-ThrottleLimit ] [ ] 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 [
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 [
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
The name of an object or setting. Required? true Position? named Default value none Accept pipeline input? false Accept wildcard characters? false-ThrottleLimit [
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 PowerShellr 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
Specifies the UniqueId of the file share. Required? true Position? named Default value noneAccept pipeline input? true(ByPropertyName)
Accept wildcard characters? falseThis 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 theGet-StorageFileServer to get the file server.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816380Get-StorageFileServer