Skip to main content
SnapCenter 4.9 cmdlets

Disconnect-SdIscsiTarget

Contributors

Terminates your session with the iSCSI target.

Syntax

Disconnect-SdIscsiTarget [-SessionIdentifier]  <String>  [-TargetNodeAddress]  <String>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Terminates your session with the iSCSI target.

Parameters

Name Description Required? Pipeline Input Default Value

SessionIdentifier

Specifies the session identifier.

true

true (ByPropertyName)

TargetNodeAddress

Specifies the target node address.

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 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: Disconnecting from your iSCSI target session

 PS C:\> DisConnect-SdIscsiTarget -SessionIdentifier fffffa800762f020-4000013700000001 -TargetNodeAddress iqn.1992-08.com.netapp:sn.54053432d1f311e19455123478563412:vs.5

This example syntax disconnects you from your iSCSI target session.