This will create LDAP settings using the user name and password provided as parameters
PARAMETERS
-Name
Human friendly name
-BindCredential
Bind credentials with permission to connect to the LDAP server Optionally, use the BindUserName and BindUserPassword parameters
-DynamicDNSName
Dynamic DNS name for locating authentication servers.
-baseDn
The path to the directory where searches for users begin.
-AuthServers
An ordered list of authentication servers. Servers on this list have priority over servers discovered using dynamic DNS.
-BindUserName
Bind username with permissions to connect to the LDAP server Optionally, use the BindCredential parameter
-BindUserPassword
Password for the Username provided Optionally, use the Credential parameter
-Server
Rubrik server IP or FQDN
-id
ID of the Rubrik cluster or me for self
-api
API version
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
-Confirm
Prompts you for confirmation before running the cmdlet.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Adapted by Adam Shuttleworth from scripts by Chris Wahl for community usage