New-OVLdapServer
Syntax
New-OVLdapServer
[-Hostname] <String>
[-SSLPort] <Int32>
[-Certificate] <Object>
[-TrustLeafCertificate]
[<CommonParameters>]
Description
A helper Cmdlet that will define an LDAP Directory Server object to be used with the New-OVLdapDirectory Cmdlet.
Examples
Example 1
Define a new Directory Server, ServerA, specifying the Base64 Public Certificate and using the default LDAP SSL port 636.
Example 2
Define a new Directory Server, ServerA, specifying the Base64 Public Certificate, using a custom LDAP SSL port.
Example 3
Create two new authentication directory servers, with the Cmdlet retrieving the certificate directly from the auth servers.
Parameters
-Hostname <String>
Directory server name or IP Address to add.
| Aliases | Name |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
-SSLPort <Int32>
Directory Server"s LDAP SSL Port.
| Aliases | port |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | 636 |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Certificate <Object>
Directory Server SSL Certificate, either location to Base64 Cert or multiline string value. If omitted, the Cmdlet will attempt to retrieve the Directory Servers Secure LDAP Certiciate.
| Aliases | cert |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Credential <PSCredential>
Use this parameter if you want to provide a PSCredential object instead.
| Aliases | |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | |
| Accept wildcard characters? | False |
-ApplianceConnection <Array>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
| Aliases | |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | |
| Accept wildcard characters? | False |
-TrustLeafCertificate <SwitchParameter>
Use to specify if the certificate should be explicitly trusted, like a self signed certificate or where the root or issuing certificate authority has not been added to the appliance trust store.
| Aliases | None |
|---|---|
| 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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
Input Types
Directory Server Name or IP Address
Mutlple Directory Server Name or IP Address System.String values
Return Values
New LDAP Server Resource Object to be used with New-OVLdapDirectory Cmdlet