Get-EmcLunMaskingView

Gets a list of LUN masking views.

 

Syntax

Get-EmcLunMaskingView [[-ID] <String>] [-StorageSystem <ISupportLunMasking>] [-InitiatorId <String[]>] [-Silent] [<CommonParameters>]

 

Description

Gets a list of LUN masking views. A LUN masking view object contains the information that a set of LUNs are unmasked to a set of initiators and the corresponding HLU (host logical unit) information of the unmasked LUNs with respect to those initiators.

 

Parameters

-ID <String>

Attributes: Optional, Position: 1

Specifies the LUN masking view name. Wildcards are permitted. It is a positional parameter (position = 1).

 

-StorageSystem <ISupportLunMasking>

Attributes: Optional, Position: named

Specifies the ESI block storage system object, which you can add to ESI using the Get-EmcStorageSystemCredential and Connect-EmcSystem cmdlets. You can get a storage system object by using the Get-EmcStorageSystem cmdlet.

 

-InitiatorId <String[]>

Attributes: Optional, Position: named

Specifies the iSCSI or FC initiator IDs.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

An optional parameter to turn off all the informational and verbose messages. However, it still displays errors.

 

<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>$storage = Get-EmcStorageSystem clariion-1

C:\PS>Get-EmcLunMaskingView -StorageSystem $storage

This example gets LUN masking views from a specified storage system.

 

-------------- Example 2 --------------

C:\PS>Get-EmcLunMaskingView

This example gets LUN masking views from all storage systems.