NAME

Get-HPOVLdap

SYNOPSIS

List configured LDAP or Active Directory configuration.

SYNTAX

Get-HPOVLdap [[-Name] <String>] [-Report] [<CommonParameters>]

Get-HPOVLdap -Export [-Save] <String> [<CommonParameters>]

DESCRIPTION

List the configured LDAP or Active Directory configuration on the appliance. Provide a Directory Name to view only its specific configuration.

Directory information can be exported to a file in order to save the configuration.

PARAMETERS

-Name <String>

Alias ['directory', 'domain']

LDAP/Active Directory Domain Name
Required? false
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-Report [<SwitchParameter>]
The initial password to be assigned to the new user. Passwords must be at least 8 characters.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-Export [<SwitchParameter>]
Alias['x']
Export the configured directories to individual files.  Each configured directory will be saved in it's own export file.
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false

-Save <String>

Alias['location']
Directory where the exported configured directories will be saved to.

Required? true
Position? 4
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false


<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None.

OUTPUTS

System.Management.Automation.PSCustomObject, System.Array

RELATED LINKS

EXAMPLES

 -------------------------- EXAMPLE 1 --------------------------

 PS C:\>Get-HPOVLdap -Name 'Domain1'


 type             : LoginDomainConfigVersion2Dto
 name             : domain1
 loginDomain      : 1
 credential       :
 authProtocol     : AD
 useSsl           : True
 top              : dc=domain,dc=local
 org              : cn=users
 userNameField    : CN
 directoryServers : {@{type=LoginDomainDirectoryServerInfoDto; directoryServerIpAddress=server.domain.local;
                    directoryServerCertificateBase64Data=-----BEGIN CERTIFICATE-----
                    MIIGAzCCBOugAwIBAgITRgAAAALxWdnp89qzNgAAAAAAAjANBgkqhkiG9w0BAQ0FADBQMRMwEQYK
                    CZImiZPyLGQBGRYDbmV0MRowGAYKCZImiZPyLGQBGRYKbHluY2gtaG9tZTEdMBsGA1UEAxMUbHlu
                    Y2gtaG9tZS1TRVJWRVItQ0EwHhcNMTQwMTAyMDUxNjU1WhcNMTUwMTAyMDUxNjU1WjAgMR4wHAYD
                    VQQDExVzZXJ2ZXIubHluY2gtaG9tZS5uZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
                    AQDJgJq9RiL/QEd0gvrh6Tpi1Mt8MTjQNsLCqm/ApxWp98UWyWOlLF7f3HbKM0cPgS7OmmxhuTIB
                    1ilNvfV0MsR7QfQQx9rbObVstRbSfMi7/KqcYuZ0wD09oterO7BONz6OPzfg03vv7S008H4QQWaM
                    GzSn8ZcZDR0aZa0OoDFkeK5JKTlL9qrC2QPniFBvH0j35QYrE499z3YufbCjFo/e7QN33Rgq/LyS
                    0P3ISZZvj9gIjd0dnf5g5cgm7324W9HfFUXTHSMBmoJzAU8hgJXVLM2w9VTwR04yJrMjlq8BdT9R
                    9jG/kMT8NOa3fYM+UV2hXef/09OrTgLrIrscV5gvAgMBAAGjggMEMIIDADAvBgkrBgEEAYI3FAIE
                    Ih4gAEQAbwBtAGEAaQBuAEMAbwBuAHQAcgBvAGwAbABlAHIwHQYDVR0lBBYwFAYIKwYBBQUHAwIG
                    CCsGAQUFBwMBMA4GA1UdDwEB/wQEAwIFoDB4BgkqhkiG9w0BCQ8EazBpMA4GCCqGSIb3DQMCAgIA
                    gDAOBggqhkiG9w0DBAICAIAwCwYJYIZIAWUDBAEqMAsGCWCGSAFlAwQBLTALBglghkgBZQMEAQIw
                    CwYJYIZIAWUDBAEFMAcGBSsOAwIHMAoGCCqGSIb3DQMHMB0GA1UdDgQWBBTzS7eI/kEJGyUxDB88
                    2gXk1/EQQDAfBgNVHSMEGDAWgBQBB8+gSYZx5fUEeegENM+kto3rsjCB1AYDVR0fBIHMMIHJMIHG
                    oIHDoIHAhoG9bGRhcDovLy9DTj1seW5jaC1ob21lLVNFUlZFUi1DQSxDTj1zZXJ2ZXIsQ049Q0RQ
                    LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZpZ3VyYXRpb24s
                    REM9bHluY2gtaG9tZSxEQz1uZXQ/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVj
                    dENsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MIHJBggrBgEFBQcBAQSBvDCBuTCBtgYIKwYBBQUH
                    MAKGgalsZGFwOi8vL0NOPWx5bmNoLWhvbWUtU0VSVkVSLUNBLENOPUFJQSxDTj1QdWJsaWMlMjBL
                    ZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWx5bmNoLWhvbWUs
                    REM9bmV0P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2FpaW9uQXV0aG9y
                    aXR5MEEGA1UdEQQ6MDigHwYJKwYBBAGCNxkBoBIEEBJBcmkfVidBoacg3B9AZcWCFXNlcnZlci5s
                    eW5jaC1ob21lLm5ldDANBgkqhkiG9w0BAQ0FAAOCAQEASvYMkxnrVPZi6mRy8/ImR5i1dukWadzM
                    /F/KBQJ0NY4CIfGJbaRdDHeUQNswUYcFh9gBGqaJ58K5oRs4Zuel5jrFCXvUdD2zzY9TW6xe5Zap
                    luKQYabN8EHH/n4xXQK3KnqdIP55N4p0ihGTg0/t+SzDyKDD6C1uK1/pGbGP0IJZWSN2JrgteZtd
                    un01H6gExI0bmg6h55L1nqbtcMXhgeM7GOi0XzGyIqq5/ExN7E+9gi9JmV5D6o08dWUfxFdtZW0n
                    aq2fweqIPvQ9/hOioB6eyncJKJEN6ur2sGKZXxCpFcLHl4QvbIgeTubCxsTfXOKYI4mP0K9KT4il
                    wPN3WQ==
                    -----END CERTIFICATE-----
                    ; directoryServerSSLPortNumber=636; directoryServerCertificateStatus=Yes; serverStatus=true;
                    uri=/rest/logindomains/1; category=users; created=2014-01-03T21:15:13.410Z;
                    modified=2014-01-03T21:15:13.411Z; eTag=2014-01-03T21:15:13.411Z
uri           : /rest/logindomains/1
category      : users
created       : Thu Jan 02 05:37:41 GMT 2014
modified      : Thu Jan 02 05:37:41 GMT 2014
eTag          : Thu Jan 02 05:37:41 GMT 2014

View the Domain1 directory configuration

-------------------------- EXAMPLE 2 --------------------------

PS C:\>Get-HPOVLdap -report

Local Login Default Directory Configured Directories
----------- ----------------- ----------------------
Enabled     domain1           {domain1}

Directory Name    Directory Type Root               Search Context
--------------    -------------- ----               --------------
domain1 (default) AD             dc=domain,dc=local cn=users

Server Hostname\IP  SSL Port
------------------  --------
server.domain.local 636

View detailed directory information.

Last edited Jan 29, 2014 at 9:43 PM by ChrisLynchHP, version 11