Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcCifsPreferredDomainController


NAME
Get-NcCifsPreferredDomainController

SYNOPSIS
Get a list of preferred domain controllers associated with an Active Directo
ry domain, organized by Vserver.

SYNTAX
Get-NcCifsPreferredDomainController [[-Domain] <String[]>] [-Attributes <Cif
sDomainPreferredDc>] [-VserverContext <String>] [-Controller <NcController[]
>] [<CommonParameters>]

Get-NcCifsPreferredDomainController -Template [-VserverContext <String>] [-C
ontroller <NcController[]>] [<CommonParameters>]

Get-NcCifsPreferredDomainController -Query <CifsDomainPreferredDc> [-Attribu
tes <CifsDomainPreferredDc>] [-VserverContext <String>] [-Controller <NcCont
roller[]>] [<CommonParameters>]


DESCRIPTION
Get a list of preferred domain controllers associated with an Active Directo
ry domain, organized by Vserver.


PARAMETERS
-Domain <String[]>
The name of one or more domains to get. Data ONTAP wildcards are permit
ted.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Attributes <CifsDomainPreferredDc>
For improved scalability in large clusters, provide a CifsDomainPreferre
dDc object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcC
ifsPreferredDomainController -Template" to get the initially empty CifsD
omainPreferredDc object. If not specified, all data is returned for eac
h 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 Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each 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 CifsDomainPreferredDc object for use with advanc
ed queries involving the Query attribute.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Query <CifsDomainPreferredDc>
For advanced queries, provide a CifsDomainPreferredDc object with variou
s fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcCifsPreferredDomainController -Template
" to get the initially empty CifsDomainPreferredDc 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
NetApp.Ontapi.Filer.C.Cifs810.CifsDomainPreferredDc


NOTES


Category: cifs
API: cifs-domain-preferred-dc-get-iter
Family: vserver

-------------- Example 1 --------------

C:\PS>Get-NcCifsPreferredDomainController


Get the list of preferred domain controllers kept by the current Vserver.


Domain PreferredDc
------ -----------
DOMAIN {10.10.10.6, 10.10.10.7}
TEST {10.10.10.5}



RELATED LINKS
Add-NcCifsPreferredDomainController
Remove-NcCifsPreferredDomainController







 Data ONTAP® PowerShell Toolkit