Skip to main content
SnapCenter 5.0 cmdlets

Get-SmStorageConnection

Contributors

Retrieves all storage system connections.

Syntax

Get-SmStorageConnection [-Storage]  <String>  [-StorageType]  <String>  [-AzureNetAppAccountId]  <bigint(20)>

Detailed Description

Retrieves information about available storage system connections. You can get information about a specified storage system, or about all of them.

Parameters

Name Description Required? Pipeline Input Default Value

Storage

false

true (ByPropertyName)

StorageType

Specifies storage type. Valid values are DataOntap and AzureNetAppAccount.

false

true (ByPropertyName)

AzureNetAppAccountId

Specifies Azure NetApp Account ID.

false

true (ByPropertyName)

Examples

Example 1: Getting storage system connections for a specified storage system

 Get-SmStorageConnection -SVM 172.17.168.13

This example syntax retrieves information for a specified storage system connection.

UserName: vsadmin
Password:
Port: 80
TransportType   : Http
ModifyTime  : 1/1/0001 12:00:00 AM
Mode:
OntapiMajorVersion  :
OntapiMinorVersion  :
Version : NetApp Release 8.2.2X33 Cluster-Mode: Fri Aug 22 06:04:17 PDT 2014
StorageSystemOSType : DataOntap
Passphrase  :
Id  : 5
Timeout : 60
Uuid:
OperationContext:
PreferredIpAddress  :
Aliases : {}
SmIPAddresses   : {SMCoreContracts.SmIPAddress, SMCoreContracts.SmIPAddress, SMCoreContracts.SmIPAddress,
SMCoreContracts.SmIPAddress...}
IPAddresses : {172.17.168.13, 172.17.168.13, 172.17.168.13, 172.17.168.13...}
Name: mva-dev-3270-02-d1.lab.netapp.com
IsResolved  : True
IsValid : True
Identity: mva-dev-3270-02-d1.lab.netapp.com

Example 2: Getting storage system connections for all available storage systems

 Get-SmStorageConnection

This example syntax gets information about all available storage system connections.

UserName: vsadmin
Password:
Port: 80
TransportType   : Http
ModifyTime  : 1/1/0001 12:00:00 AM
Mode:
OntapiMajorVersion  :
OntapiMinorVersion  :
Version :
StorageSystemOSType :
Passphrase  :
Id  : 1
Timeout : 60
Uuid:
OperationContext:
PreferredIpAddress  :
Aliases : {}
SmIPAddresses   : {SMCoreContracts.SmIPAddress, SMCoreContracts.SmIPAddress, SMCoreContracts.SmIPAddress,
SMCoreContracts.SmIPAddress...}
IPAddresses : {172.17.124.165, 172.17.124.165, 172.17.124.165, 172.17.124.165...}
Name: neeraj_vs1
IsResolved  : True
IsValid : True
Identity: neeraj_vs1
UserName: vsadmin
Password:
Port: 80
TransportType   : Http
ModifyTime  : 1/1/0001 12:00:00 AM
Mode:
OntapiMajorVersion  :
OntapiMinorVersion  :
Version :
StorageSystemOSType :
Passphrase  :
Id  : 2
Timeout :
Uuid:
OperationContext:
PreferredIpAddress  :
Aliases : {}
SmIPAddresses   : {SMCoreContracts.SmIPAddress, SMCoreContracts.SmIPAddress, SMCoreContracts.SmIPAddress,
SMCoreContracts.SmIPAddress...}
IPAddresses : {10.225.13.49, 10.225.13.49, 10.225.13.49, 10.225.13.49...}
Name: rtp-rr1-d2.gdl.mycompany.com
IsResolved  : True
IsValid : True
Identity: rtp-rr1-d2.gdl.mycompany.com

Example 3: Getting Azure NetApp Account with specified ID

 Get-SmStorageConnection -StorageType AzureNetAppAccount -StorageConnectionId 3

This example gets information about Azure NetApp Account with specified Storage connection Id.

StorageConnectionId : 3
SubscriptionId  : 398e471c-3b42-4ae7-9b59-ce5bb5e6108d
NetAppAccountName   : poojar_SCSHANA_Account
ResourceGroupName   : poojar
StorageOSType   : AzureNetAppAccount
CredentialName  : HCLMain
CredentialId: 7
ModifyTime  : 10/18/2023 10:15:48 AM
ModifyTimeTicks : 638332209480000000
StorageBaseId   : 3
Location: eastus2