Gets the list of storage service nodes.
Syntax
Get-EmcStorageServiceNode [[-ID] <String>] [-StorageSystem <IStorageSystem>] [-Silent] [<CommonParameters>]
Get-EmcStorageServiceNode [[-ID] <String>] [-Silent] [-Pool <StoragePool>] [<CommonParameters>]
Get-EmcStorageServiceNode [[-ID] <String>] [-Silent] [-Lun <Lun>] [<CommonParameters>]
Get-EmcStorageServiceNode [[-ID] <String>] [-Silent] [-CifsSharedFolder <CifsSharedFolder>] [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the storage service node ID or displayed text. Wildcards are permitted. It is a positional parameter (position = 1).
-StorageSystem <IStorageSystem>
Attributes: Optional, Position: named
Specifies the ESI storage system object. You can add this object to ESI by using the Get-EmcStorageSystemCredential and Connect-EmcSystem cmdlets. You can get this object by using the Get-EmcStorageSystem cmdlet.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-Pool <StoragePool>
Attributes: Optional, Position: named
Specifies the ESI storage pool object, which you can get with the ESI block storage system or by using the Get-EmcStoragePool cmdlet.
-Lun <Lun>
Attributes: Optional, Position: named
Specifies the ESI LUN object, which you can get with the ESI storage system object or by using the Get-EmcLun cmdlet.
-CifsSharedFolder <CifsSharedFolder>
Attributes: Optional, Position: named
Specifies the ESI shared folder object, which you can get with the ESI storage system object or by using the Get-EmcSharedFolder 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-EmcStorageServiceNode | select DisplayText
DisplayText
------------
iscsi_node_0(iqn.1992-05.com.emc:apm001120033400000-1-vnxe)
file_server_0(10.5.223.114)
This example gets the displayed text for the storage service nodes on all registered storage systems.
-------------- Example 2 --------------
C:\PS>$lun = Get-EmcLun myLun
C:\PS>Get-EmcStorageServiceNode -Lun $lun
StorageSystemGlobalId : 2cb81f21-f91d-41e6-b874-cef1f3401f99
ServiceNodeId : iscsi_node_2
DisplayText : iscsi_node_2(iqn.1992-05.com.emc:apm001203015100000-3-vnxe)
StoragePorts : {iqn.1992-05.com.emc:apm001203015100000-3-vnxe}
Modules : {}
OperationalStatus :
StatusMessages :
DisplayName :
OtherProperties : {}
Tag :
DefaultStringForOtherProperties : ()
This example gets the storage service nodes that serve the data service for the specified LUN.
---------- Example 3 ----------
C:\PS>$pool = Get-EmcStoragePool
C:\PS>Get-EmcStorageServiceNode -Pool $pool[0]
This example gets the storage service nodes that serve the data service for the specified pool.
---------- Example 4 ----------
C:\PS>$sf = Get-EmcSharedFolder mySharedFolder
C:\PS>Get-EmcStorageServiceNode -CifsSharedFolder $sf
This example gets the storage service nodes that serve the data service for the specified CIFS shared folder.