Skip to main content
SnapCenter 6.0 cmdlets

Disconnect-SdStorage

Contributors

Disconnects your storage system from your Windows disk or SMB share.

Syntax

Disconnect-SdStorage [-Path]  <String>  [-IgnoreVolumeMountPoint]  <>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Disconnects your Windows disk or SMB share from your storage system.

Parameters

Name Description Required? Pipeline Input Default Value

Path

Specifies your LUN path or mount point using the format: D:, D:\Mount

true

true (ByPropertyName)

IgnoreVolumeMountPoint

false

true (ByPropertyName)

Session

Specifies the Session ID from Open-SmConnection

false

true (ByPropertyName)

Host

Specifies the name or IP address of the host on which you execute the operation. The default is your local machine.

false

true (ByPropertyName)

Examples

Example 1: Disconnecting a storage system from a Windows drive

 PS C:\> Disconnect-SDStorage –Path K:

This example syntax disconnect the specified drive from a storage system.

Example 2: Disconnectinga storage system from a Windows mount point

 PS C:\> Disconnect-SDStorage –Path K:\Mount

This example syntax disconnect the specified Mount Point from a storage system.