|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcIsns
NAME
Get-NcIsns
SYNOPSIS
Gets iSNS service configuration for a Vserver.
SYNTAX
Get-NcIsns [[-EntityId] <String[]>] [[-Address] <String[]>] [-Vserver <Strin
g[]>] [-Attributes <IscsiIsnsInfo>] [-VserverContext <String>] [-Controller
<NcController[]>] [<CommonParameters>]
Get-NcIsns -Template [-VserverContext <String>] [-Controller <NcController[]
>] [<CommonParameters>]
Get-NcIsns -Query <IscsiIsnsInfo> [-Attributes <IscsiIsnsInfo>] [-VserverCon
text <String>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Gets iSNS service configuration for a Vserver.
PARAMETERS
-EntityId <String[]>
One or more entity IDs corresponding with this iSNS configuration within
the external iSNS server. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Address <String[]>
One or more IP addresses of iSNS servers. Data ONTAP wildcards are perm
itted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
One or more Vservers for the iSNS service. Data ONTAP wildcards are per
mitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <IscsiIsnsInfo>
For improved scalability in large clusters, provide an IscsiIsnsInfo obj
ect with various fields set to indicate which fields to return on all ob
jects. Undesired fields should remain set to null. Use "Get-NcIsns -Te
mplate" to get the initially empty IscsiIsnsInfo object. If not specifi
ed, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty IscsiIsnsInfo object for use with advanced queri
es involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <IscsiIsnsInfo>
For advanced queries, provide an IscsiIsnsInfo object with various field
s set to indicate which records to retrieve. Other fields should remain
set to null. Use "Get-NcIsns -Template" to get the initially empty Isc
siIsnsInfo object.
Required? true
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
DataONTAP.C.Types.Iscsi.IscsiIsnsInfo
NOTES
Category: iscsi
API: iscsi-isns-get-iter
Family: cluster, vserver
-------------- Example 1 --------------
C:\PS>Get-NcIsns
Get the iSNS configuration for all the vservers in the current cluster.
IsIsnsEnabled : True
IsnsEntityId :
IsnsIpAddr : 192.168.182.10
LastSuccessfulUpdateTimestamp :
LastUpdateAttemptTimestamp :
LastUpdateResult :
NcController : 192.168.182.119
Vserver : joule
IsIsnsEnabledSpecified : True
LastSuccessfulUpdateTimestampSpecified : False
LastUpdateAttemptTimestampSpecified : False
-------------- Example 2 --------------
C:\PS>$q = Get-NcIsns -Template
$q.IsIsnsEnabled = $true
Get-NcIsns -Query $q
Get all the iSNS configurations that are currently enabled.
IsIsnsEnabled : True
IsnsEntityId :
IsnsIpAddr : 192.168.182.10
LastSuccessfulUpdateTimestamp :
LastUpdateAttemptTimestamp :
LastUpdateResult :
NcController : 192.168.182.119
Vserver : joule
IsIsnsEnabledSpecified : True
LastSuccessfulUpdateTimestampSpecified : False
LastUpdateAttemptTimestampSpecified : False
RELATED LINKS
Set-NcIsnsAddress
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|