-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVLdapServer
Define LDAP Directory Server object.
New-HPOVLdapServer [-Hostname] <String> [-SSLPort] <Int32> [-Certificate] <Object> [<CommonParameters>]
A helper cmdlet that will define an LDAP Directory Server object to be used with the New-HPOVLdapDirectory cmdlet.
-Certificate <Object>
Aliases [-cert] Directory Server SSL Certificate, either location to Base64 Cert or multi-line 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 |
-Hostname <String>
Aliases [-Name] 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>
Aliases [-port] Directory Server's LDAP SSL Port.
Aliases | port |
Required? | true |
Position? | named |
Default value | 636 |
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)
System.String
Directory Server Name or IP Address
System.Collections.ArrayList
Mutlple Directory Server Name or IP Address System.String values
HPOneView.Appliance.AuthDirectoryServer [System.Management.Automation.PSCustomObject]
New LDAP Server Resource Object to be used with New-HPOVLdap CMDLET
-------------------------- EXAMPLE 1 --------------------------$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 --------------------------$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.
-------------------------- EXAMPLE 3 --------------------------$dc1,$dc2 = 'dc1.mydomain.com','dc2.mydomain.com' | New-HPOVLdapServer
Create two new authentication directory servers, with the CMDLET retrieving the certificate directly from the auth servers.
- Add-HPOVLapServer
- Remove-HPOVLapServer
- Get-HPOVLap
- Get-HPOVLdapDirectory
- New-HPOVLdapDirectory
- Enable-HPOVLdapLocalLogin
- Disable-HPOVLdapLocalLogin
Define LDAP Directory Server object.
New-HPOVLdapServer [-Hostname] <String> [-SSLPort] <Int32> [-Certificate] <Object> [<CommonParameters>]
A helper cmdlet that will define an LDAP Directory Server object to be used with the New-HPOVLdapDirectory cmdlet.
-Certificate <Object>
Aliases [-cert] Directory Server SSL Certificate, either location to Base64 Cert or multi-line 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 |
-Hostname <String>
Aliases [-Name] 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>
Aliases [-port] Directory Server's LDAP SSL Port.
Aliases | port |
Required? | true |
Position? | named |
Default value | 636 |
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)
System.String
Directory Server Name or IP Address
System.Collections.ArrayList
Mutlple Directory Server Name or IP Address System.String values
HPOneView.Appliance.AuthDirectoryServer [System.Management.Automation.PSCustomObject]
New LDAP Server Resource Object to be used with New-HPOVLdap CMDLET
-------------------------- 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.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $dc1,$dc2 = 'dc1.mydomain.com','dc2.mydomain.com' | New-HPOVLdapServer
Create two new authentication directory servers, with the CMDLET retrieving the certificate directly from the auth servers.
- Add-HPOVLapServer
- Remove-HPOVLapServer
- Get-HPOVLap
- Get-HPOVLdapDirectory
- New-HPOVLdapDirectory
- Enable-HPOVLdapLocalLogin
- Disable-HPOVLdapLocalLogin
Define LDAP Directory Server object.
New-HPOVLdapServer [-Hostname] <String> [-SSLPort] <Int32> [-Certificate] <Object> [<CommonParameters>]
A helper cmdlet that will define an LDAP Directory Server object to be used with the New-HPOVLdapDirectory cmdlet.
-Certificate <Object>
Aliases [-cert] Directory Server SSL Certificate, either location to Base64 Cert or multi-line 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 |
-Hostname <String>
Aliases [-Name] 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>
Aliases [-port] Directory Server's LDAP SSL Port.
Aliases | port |
Required? | true |
Position? | named |
Default value | 636 |
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)
System.String
Directory Server Name or IP Address
System.Collections.ArrayList
Mutlple Directory Server Name or IP Address System.String values
HPOneView.Appliance.AuthDirectoryServer [System.Management.Automation.PSCustomObject]
New LDAP Server Resource Object to be used with New-HPOVLdap CMDLET
-------------------------- 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.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $dc1,$dc2 = 'dc1.mydomain.com','dc2.mydomain.com' | New-HPOVLdapServer
Create two new authentication directory servers, with the CMDLET retrieving the certificate directly from the auth servers.
- Add-HPOVLapServer
- Remove-HPOVLapServer
- Get-HPOVLap
- Get-HPOVLdapDirectory
- New-HPOVLdapDirectory
- Enable-HPOVLdapLocalLogin
- Disable-HPOVLdapLocalLogin
Define LDAP Directory Server object.
New-HPOVLdapServer [-Name] <Name>[ [-SSLPort] <SSLPort>][ [-Certificate] <Certificate>] [<CommonParameters>]
A helper cmdlet that will define an LDAP Directory Server object to be used with the New-HPOVLdap cmdlet.
-Name <Name>
Directory server name to add. This value will also be used to retrieve the SSL certificate from the Directory Server if the -Certificate parameter is not used.
Aliases | None. |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-SSLPort <SSLPort>
Aliases [-port] Directory Server's LDAP SSL Port.
Aliases | None. |
Required? | false |
Position? | 2 |
Default value | 636 |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Certificate <Certificate>
Aliases [-cert] Directory Server SSL Certificate, either location to Base64 Cert or multi-line string value. If omitted, the directory server Name value will be used to connect to the Directory Server to retrieve the SSL certificate.
Aliases | None. |
Required? | false |
Position? | 3 |
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)
None. You cannot pipe objects to this cmdlet.
System.Collections.Hashtable
New LDAP Server Resource Object to be used with New-HPOVLdap CMDLET.
-------------------------- 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.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $ServerA = New-HPOVLdapServer -Name servera.domain.com -Port 636
Define a new Directory Server, ServerA, and the Directory Server's public Secure LDAP certificate will be retrieved online.