|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaCifsOrganizationalUnit
NAME
Get-NaCifsOrganizationalUnit
SYNOPSIS
Gathers a list of joinable organizational units from Active Directory.
SYNTAX
Get-NaCifsOrganizationalUnit [-Domain] <String> [-User] <String> [-Password]
<String> [-Controller <NaController>] [<CommonParameters>]
Get-NaCifsOrganizationalUnit [-Credential <PSCredential>] [-Controller <NaCo
ntroller>] [<CommonParameters>]
DESCRIPTION
Gathers a list of joinable organizational units from Active Directory for th
e login-user specified. For more information regarding Active Directory orga
nizational units and their use, please reference Microsoft's Active Director
y documentation.
PARAMETERS
-Domain <String>
The name of the domain that the CIFS server will join. Examples: cifsdo
main, cifs.domain.com
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-User <String>
The name of a domain user that has the ability to add the CIFS server to
the domain given in Domain. Examples: username (assumes Domain is the
user's domain), cifsdomain\username, cifs.domain.com\username
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Password <String>
The password for User.
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
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
-Credential <PSCredential>
Credentials of a domain user that has the ability to add the CIFS server
to the domain.
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
DataONTAP.Types.Cifs.CifsSetupOu
NOTES
Category: cifs
API: cifs-setup-ou-list-iter-start, cifs-setup-ou-list-iter-next, cifs-s
etup-ou-list-iter-end
-------------- Example 1 --------------
C:\PS>Get-NaCifsOrganizationalUnit rtprre.testdomain Administrator my@passw0
rd
Get the OU list from Active Directory in domain 'rtprre.testdomain'
OrganizationalUnit
------------------
CN=computers
OU=Domain Controllers
OU=XenDesktop
OU=XenDesktopFarm,OU=XenDesktop
RELATED LINKS
Get-NaCifsSite
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|