Skip to main content
SnapCenter 4.9 cmdlets

Get-SdIscsiTarget

Contributors

Enumerates iSCSI targets on a storage system.

Syntax

Get-SdIscsiTarget [-StorageSystemName]  <String>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Enumerates iSCSI targets on a storage system.

Parameters

Name Description Required? Pipeline Input Default Value

StorageSystemName

Specifies the name of the storage system for which you want to list iSCSI targets.

true

true (ByPropertyName)

Session

Specifies the session ID from Open-SmConnection.

false

true (ByPropertyName)

Host

Specifies the name of the computer or host on which the SanpCenter Plug-in for Microsoft Windows service you want to perform the operation runs. The default is your local machine.

false

true (ByPropertyName)

Examples

Example 1: Listing all iSCSI targets on a storage system

 PS C:\> Get-SdIscsiTarget -StorageSystemName vs0

In this sample syntax, you get information about iSCSI targets on a specified storage system.

Example 2: Listing all iSCSI targets on a storage system

 PS C:\> Get-SdIscsiTarget -StorageSystem 172.17.11.122

In this sample syntax, you get information about iSCSI targets on a specified storage system.