external help file | Module Name | online version | schema |
---|---|---|---|
DellOpenManage-help.xml |
DellOpenManage |
2.0.0 |
Create new static group in OpenManage Enterprise
New-OMEDirectoryService [-Name] <String> [[-DirectoryType] <String>] [[-DirectoryServerLookup] <String>]
[-DirectoryServers] <String[]> [[-ADGroupDomain] <String>] [[-ServerPort] <Int32>] [[-NetworkTimeOut] <Int32>]
[[-SearchTimeOut] <Int32>] [-CertificateValidation] [[-CertificateFile] <String>]
[[-LDAPBindUserName] <String>] [[-LDAPBindPassword] <SecureString>] [[-LDAPBaseDistinguishedName] <String>]
[[-LDAPAttributeUserLogin] <String>] [[-LDAPAttributeGroupMembership] <String>] [[-LDAPSearchFilter] <String>]
[-TestConnection] [[-TestUserName] <String>] [[-TestPassword] <SecureString>] [<CommonParameters>]
Only static groups are supported currently. Raise an issue on Github for query group support.
New-OMEDirectoryService -Name "LAB.LOCAL" -DirectoryType "AD" -DirectoryServerLookup "DNS" -DirectoryServers @("lab.local") -ADGroupDomain "lab.local" -TestConnection -TestUserName "[email protected]" -TestPassword $(ConvertTo-SecureString 'calvin' -AsPlainText -Force) -Verbose
Test AD Directory Service using Global Catalog Lookup
New-OMEDirectoryService -Name "LAB.LOCAL" -DirectoryType "AD" -DirectoryServerLookup "DNS" -DirectoryServers @("lab.local") -ADGroupDomain "lab.local"
Create AD Directory Service using Global Catalog Lookup
New-OMEDirectoryService -Name "LAB.LOCAL" -DirectoryType "AD" -DirectoryServerLookup "DNS" -DirectoryServers @("lab.local") -ADGroupDomain "lab.local" -CertificateValidation -CertificateFile "C:\Temp\CA.cer"
Create AD Directory Service using Global Catalog Lookup with Certificate Validation
New-OMEDirectoryService -Name "LAB.LOCAL" -DirectoryType "AD" -DirectoryServerLookup "MANUAL" -DirectoryServers @("ad1.lab.local", "ad2.lab.local") -ADGroupDomain "lab.local"
Create AD Directory Service manually specifing Domain Controllers
New-OMEDirectoryService -Name "LAB.LOCAL" -DirectoryType "LDAP" -DirectoryServerLookup "MANUAL" -DirectoryServers @("ldap1.lab.local", "ldap2.lab.local") -LDAPBaseDistinguishedName "dc=lab,dc=local"
Create LDAP Directory Service
Name of group
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Directory type (Default="AD", "LDAP")
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: AD
Accept pipeline input: False
Accept wildcard characters: False
Directory server lookup type. DNS will use automatically lookup Directory Servers (Domain Controllers). MANUAL you must provide them. (Default="DNS", "MANUAL")
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: DNS
Accept pipeline input: False
Accept wildcard characters: False
Directory servers by hostname, fqdn or IP. For DirectoryServerLookup=DNS DirectoryServers must contain only 1 entry Example: lab.local. For DirectoryServerLookup=MANUAL provide an array of servers.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the domain Example: lab.local
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Port to use when communicating with directory server
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Network timeout
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: 120
Accept pipeline input: False
Accept wildcard characters: False
Search timeout
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: 120
Accept pipeline input: False
Accept wildcard characters: False
Provide certificate validation. To be used with CertificateFile (NOT IMPLEMENTED)
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Path to directory certificate. Required when -CertificateValidation switch provided
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Username to use when connecting to LDAP server
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Password to use when connecting to LDAP server
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Base search DN for LDAP
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
LDAP attribute to use for username
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
LDAP attribute to use for group membership
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
LDAP base search filter
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Test directory service connection. When provided it will only test the connection and not create directory service.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Username to use when testing directory service connection
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 16
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Password to use when testing directory service connection
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: False
Position: 17
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.