New-RubrikLDAP

SYNOPSIS

Connects to Rubrik and sets Rubrik cluster settings

SYNTAX

UserPassword (Default)

New-RubrikLDAP -Name <String> [-DynamicDNSName <String>] [-baseDn <String>] [-AuthServers <Array>]
 [-BindUserName] <String> [-BindUserPassword] <SecureString> [-Server <String>] [-id <String>] [-api <String>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Credential

New-RubrikLDAP -Name <String> -BindCredential <Object> [-DynamicDNSName <String>] [-baseDn <String>]
 [-AuthServers <Array>] [-Server <String>] [-id <String>] [-api <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

The New-RubrikLDAP cmdlet will set the cluster settings on the system. This does require authentication.

EXAMPLES

EXAMPLE 1

This will create LDAP settings on the Rubrik cluster defined by Connect-Rubrik function

EXAMPLE 2

New-RubrikLDAP -Name "rubrik.lab" -DynamicDNSName "ad1.test.lab" -baseDn "DC=rubrik,DC=lab" -BindCredential $Credential -Verbose

This will create LDAP settings using the credentials object provided as a parameter

EXAMPLE 3

New-RubrikLDAP -Name "rubrik.lab" -DynamicDNSName "ad1.test.lab" -baseDn "DC=rubrik,DC=lab" -BindUserName jaapjaap -BindUserPassword $SecPw -Verbose

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

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/new-rubrikldap

Last updated

Was this helpful?