Queries the access types for a storage pool.
Syntax
Get-EmcStorageAccessControl -Pool <StoragePool> [-Granted] [-Silent] [<CommonParameters>]
Get-EmcStorageAccessControl -Pool <StoragePool> [-Silent] [-PassOn] [<CommonParameters>]
Description
Queries the access types for a storage pool. You can query for the access types that the specified pool has been granted to, or the access types of the specified pool that can be granted to others.
Parameters
-Pool <StoragePool>
Attributes: Required, Position: named
Specifies the pool for the access types that you want to query.
-Granted <SwitchParameter>
Attributes: Optional, Position: named
Specifies that the query is for the access types that have been granted to the specified pool.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-PassOn <SwitchParameter>
Attributes: Optional, Position: named
Specifies that the query is for the access types of the specified pool that can be granted to others.
<CommonParameters>
This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.
Examples
-------------- Example 1 --------------
C:\PS>$pool = Get-EmcStoragePool gold*
C:\PS>Get-EmcStorageAccessControl -Pool $pool -Granted
FullControl
C:\PS>Get-EmcStorageAccessControl -Pool $pool -PassOn
FullControl
ViewOnly
PassOnPrivilege
CreateLun
DeleteLun
UnmaskLun
MaskLun
ExpandLun
CreateSnapshotLun
DeleteSnapshotLun
ActivateSnapshotLun
DeactivateSnapshotLun
RestoreSnapshotLun
This example queries the access types of a specified pool using the Granted and PassOn options.