NAME

New-HPOVLdapServer

SYNOPSIS

Helper cmdlet to define LDAP Directory Server(s).

SYNTAX

New-HPOVLdapServer [-Name] <string> [[-SSLPort] <int32>] [-Certificate] <Object> [<CommonParameters>]

DESCRIPTION

A helper cmdlet that will define an LDAP Directory Server object to be used with the New-HPOVLdap cmdlet.

PARAMETERS

-Name <String>

Directory server name to add.

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

-SSLPort <Int32>
Alias ['port']

Directroy Server’s LDAP SSL port.

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

-Certificate <Object>
Alias ['cert']

Directory Server SSL Certificate, either location to Base64 Cert or multi-line string value.

Required? true
Position? 3
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.Collections.Hashtable

RELATED LINKS

EXAMPLES

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

PS C:\>$ServerA = New-HPOVLdapServer -Name servera.domain.com -Certificate C:\dir\servera.cer

Define a new Directory Server, ServerA, specifying the Base64 Public Certificate and using the default LDAP SSL port 636.
-------------------------- EXAMPLE 2 --------------------------

PS C:\>$ServerA = New-HPOVLdapServer -Name servera.domain.com -Port 2636 -Certificate C:\dir\servera.cer

Define a new Directory Server, ServerA, specifying the Base64 Public Certificate, using a custom LDAP SSL port.

Last edited Jan 29, 2014 at 11:35 PM by ChrisLynchHP, version 3