Skip to main content
SnapCenter 6.0 cmdlets

Connect-SdIscsiTarget

Contributors

Establishes a session with your specified iSCSI target.

Syntax

Connect-SdIscsiTarget [-TargetNodeAddress]  <String>  [-TargetPortalAddress]  <String>  [-TargetPortalPortNumber]  <UInt16>  [-InitiatorPortalAddress]  <String>  [-CHAPUserName]  <String>  [-CHAPPassword]  <String>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Establishes a session with your specified iSCSItarget.

Parameters

Name Description Required? Pipeline Input Default Value

TargetNodeAddress

Specifies the target node address.

true

true (ByPropertyName)

TargetPortalAddress

Specifies the target portal address.

true

true (ByPropertyName)

TargetPortalPortNumber

Specifies the target portal port number.

false

true (ByPropertyName)

InitiatorPortalAddress

Specifies the initiator portal address.

false

true (ByPropertyName)

CHAPUserName

Specifies your CHAP user name.

false

true (ByPropertyName)

CHAPPassword

Specifies your CHAP password.

false

true (ByPropertyName)

Session

Specifies the session ID from Open-SmConnection. For internal use only.

false

true (ByPropertyName)

Host

Specifies the name of the computer or host on which the SnapCenter 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: Connecting to an iSCSI target

 PS C:\> Connect-SdIscsiTarget -TargetNodeAddress iqn.1992-08.com.netapp:sn.54053432d1f311e19455123478563412:vs.5 -TargetPortalAddress 172.17.175.84 -TargetPortalPortNumber 3260

This example syntax connects you to an iSCSI target.