|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaSnapmirrorConnection
NAME
Get-NaSnapmirrorConnection
SYNOPSIS
Get connection information for a given snapmirror connection or all connecti
ons. The connections are in /etc/snapmirror.conf.
SYNTAX
Get-NaSnapmirrorConnection [[-Name] <String>] [-Controller <NaController>] [
<CommonParameters>]
DESCRIPTION
Get connection information for a given snapmirror connection or all connecti
ons. The connections are in /etc/snapmirror.conf.
PARAMETERS
-Name <String>
Name of the connection to get. If omitted, all connections will be retu
rned. Wildcards are accepted.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NetApp.Ontapi.Filer.Snapmirror.ConnectionInfo
NOTES
Category: snapmirror
API: snapmirror-list-connections
-------------- Example 1 --------------
C:\PS>Get-NaSnapmirrorConnection
Get all of the connections saved in snapmirror.conf.
Name Mode AddressPair1 AddressPair2
---- ---- ------------ ------------
test-con multi lemon-ns0, kenneth-ns0
benson-con multi benson-ns0, kenneth-ns0 benson-ns1, k
enneth-ns1
RELATED LINKS
Set-NaSnapmirrorConnection
Remove-NaSnapmirrorConnection
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|