Set-RubrikUser

SYNOPSIS

Updates an existing user

SYNTAX

Set-RubrikUser [-Id] <String> [[-Password] <SecureString>] [[-FirstName] <String>] [[-LastName] <String>]
 [[-EmailAddress] <String>] [[-ContactNumber] <String>] [[-MfaServerId] <String>] [[-Server] <String>]
 [[-api] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Set-RubrikUser cmdlet is used to update the attributes of an existing Rubrik user. NOTE: The underlying API endpoints used by this cmdlet are restricted. API token authentication cannot be used with this cmdlet. You must use username/password authentication.

EXAMPLES

EXAMPLE 1

Set-RubrikUser -id '11111' -password (ConvertTo-SecureString -string 'supersecretpassword' -asplaintext -force)

This will set the specified password for the user account with the specified id.

EXAMPLE 2

This will change the user matching the specified id last name to 'Smith'

PARAMETERS

-Id

User ID

-Password

Password for the user

-FirstName

Users first name

-LastName

Users last name

-EmailAddress

Users email

-ContactNumber

Users Contact Number

-MfaServerId

MFA Server ID associated to user

-Server

Rubrik server IP or FQDN

-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

Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/set-rubrikuser

Last updated

Was this helpful?