Set-RubrikNASShare

SYNOPSIS

Change settings for a NAS share

SYNTAX

Credential (Default)

Set-RubrikNASShare -Id <String> [-Credential] <Object> [-ExportPoint <String>] [-Server <String>]
 [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

UserPassword

Set-RubrikNASShare -Id <String> [-Username] <String> [-Password] <SecureString> [[-Domain] <SecureString>]
 [-ExportPoint <String>] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Update NAS share settings that are configured in Rubrik, such as updating the export point or change the NAS credentials

EXAMPLES

EXAMPLE 1

Update the NAS Share FOO with the export point of TEMP.

EXAMPLE 2

Update the NAS Share FOO with the credentials specified

PARAMETERS

-Id

NAS Share ID

-Credential

New export point for the share

-Username

Username to assign to NAS Share

-Password

Password for the Username provided

-Domain

Domain for the user

-ExportPoint

Rubrik server IP or FQDN

-Server

New NAS Share credential

-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 Fal Twitter: @Mike_Fal GitHub: MikeFal Any other links you'd like here

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

Last updated

Was this helpful?