Skip to main content
SnapCenter 4.8 cmdlets

Remove-SmStorageConnection

Contributors

Removes a storage system connection.

Syntax

Remove-SmStorageConnection [-Storage]  <String>  [-AzureNetAppAccountIds]  <bigint(20)>

Detailed Description

Removes a storage system connection. You can remove one storage system connection at a time.

Parameters

Name Description Required? Pipeline Input Default Value

Storage

false

true (ByPropertyName)

Examples

Example 1: Removing a storage system connection

 Remove-SmStorageConnection -SVM 172.17.168.13

This example syntax removes a storage system connection

Remove-SmStorageConnection
Are you sure you want to remove the storage connection?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Remove Storage connection successful

Example 2: Removing a storage system connection without confirmation dialogue

 Remove-SmStorageConnection -SVM 172.17.168.13 -Confirm:$false

This example syntax removes a storage system connection

Remove Storage connection successful

Example 3: Removing Azure NetApp Account

 Remove-SmStorageconnection -AzureNetAppAccountIds 1

This example removes Azure NetApp Accounts with specified Azure NetApp Account IDs.