New-RubrikNASShare

SYNOPSIS

Creates a new NAS share in Rubrik for backup operations

SYNTAX

New-RubrikNASShare [-HostID] <String> [-ShareType] <String> [[-ExportPoint] <String>]
 [[-Credential] <PSCredential>] [[-Server] <String>] [[-api] <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Registers a new NAS share in Rubrik. Once created, this NAS share can be associated with filesets for appropriate fileset backups. Note, a host must first be created using New-RubrikHost for the NAS share to be associated.

EXAMPLES

EXAMPLE 1

New-RubrikNASShare -HostID (Get-RubrikHost 'FOO').id -ShareType NFS -ExportPoint BAR -Credential (Get-Credential)

Create a new NFS share for host FOO, export point BAR.

PARAMETERS

-HostID

Host ID that the NAS share will be associated with

-ShareType

Share type - NFS or SMB

-ExportPoint

Export point - Share Name

-Credential

Credential for NAS share

-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 Fal Twitter: @Mike_Fal GitHub: MikeFal

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

Last updated

Was this helpful?