Get-EmcStorageSystem

Gets the list of storage systems.

 

Syntax

 

Parameters

-Id <String>

Attributes: Optional, Position: 1

Specifies the storage system name, user-friendly name, or global ID. Wildcards are permitted. It is a positional parameter (position = 1).

 

-SystemType <String>

Attributes: Optional, Position: named

Specifies the storage system type. Valid values are VMAX, VNX, VNX-block, VNX-CIFS, VNXe, CLARiiON-CX4.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

-BlockStorageSystem <SwitchParameter>

Attributes: Required, Position: named

Enumerates block storage systems.

 

-FileStorageSystem <SwitchParameter>

Attributes: Required, Position: named

Enumerates file storage systems.

 

-Lun <Lun>

Attributes: Required, Position: named

Specifies the ESI LUN object, which you can get by using the ESI storage system object or by using the Get-EmcLun cmdlet.

 

-Pool <StoragePool>

Attributes: Required, Position: named

Specifies the ESI pool object, which you can get by using the ESI storage system object or by using the Get-EmcStoragePool cmdlet.

 

-LunMaskingView <LunMaskingView>

Attributes: Required, Position: named

Specifies the ESI LunMaskingView system object, which can be obtained by using the Get-EmcLunMaskingView cmdlet.

 

-ReplicationServiceSite <ReplicationServiceSite>

Attributes: Required, Position: named

Specifies the replication site in which the replication system resides.

 

-FastVpPolicy <FastVpPolicy>

Attributes: Required, Position: named

Specifies the ESI FAST VP policy system object. You can get the FAST VP policy system object with the Get-EmcFastVpPolicy cmdlet.

 

-VmaxStorageGroup <VmaxStorageGroup>

Attributes: Optional, Position: named

Specifies the ESI VMAX storage group object. You can get a VMAX storage group object with the ESI Storage System object or Get-EmcVmaxStorageGroup cmdlet.

 

-StorageTier <FastStorageTier>

Attributes: Required, Position: named

Specifies the ESI Storage Tier object. You can get the storage tier object with the Get-EmcStorageTier cmdlet.

 

<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>Get-EmcStorageSystem

C:\PS>Get-EmcStoragePool gold* | Get-EmcStorageSystem | select name

C:\PS>$l = Get-EmcLUN

C:\PS>$l[0] | Get-EmcStorageSystem

This example gets the storage systems.

 

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

C:\PS>Get-EmcStorageSystem -BlockStorageSystem

This example gets the connected block storage systems.

 

-------------- Example 3 --------------

C:\PS>Get-EmcStorageSystem -FileStorageSystem

This example gets the connected file storage systems.

 

-------------- Example 4 --------------

C:\PS>Get-EmcStorageSystem vnx*

C:\PS>Get-EmcStorageSystem -id vnx*

This example gets the storage system based on name, user-friendly name, or global ID. Wildcards are permitted. Because the ID parameter is positional, you can omit the name.

 

-------------- Example 5 --------------

C:\PS>Get-EmcStorageSystem -SystemType VNX-block

This example gets the VNX block storage systems.

 

-------------- Example 6 --------------

C:\PS>$lmv = Get-EmcLunMaskingView testMachine*

C:\PS>Get-EmcStorageSystem -LunMaskingView $lmv

This example gets the storage system based on the LUN masking view.

 

-------------- Example 7 --------------

C:\PS>$site = Get-EmcReplicationServiceSite

C:\PS>Get-EmcStorageSystem --ReplicationServiceSite $site[0]

This example gets the storage system based on the replication service site.

 

-------------- Example 8 --------------

C:\PS>$policy = Get-EmcFastVpPolicy

C:\PS>Get-EmcStorageSystem -FastVpPolicy $policy[0]

This example gets the storage system based on the FAST VP policy.

 

-------------- Example 9 --------------

C:\PS>$storagegroup = Get-EmcVMaxStorageGroup

C:\PS>Get-EmcStorageSystem -VmaxStorageGroup $storagegroup [0]

This example gets the storage system based on the storage group.

 

-------------- Example 10 --------------

C:\PS>$storagetier = Get-EmcStorageTier

C:\PS>Get-EmcStorageSystem -StorageTier $storagetier[0]

This example gets the storage system based on the storage tier.