Get-RubrikFileset

SYNOPSIS

Retrieves details on one or more filesets known to a Rubrik cluster

SYNTAX

Query (Default)

Get-RubrikFileset [[-Name] <String>] [-HostName <String>] [-id <String>] [-Relic] [-DetailedObject]
 [-SLA <String>] [-TemplateID <String>] [-PrimaryClusterID <String>] [-ShareID <String>] [-SLAID <String>]
 [-Server <String>] [-api <String>] [<CommonParameters>]

Filter

Get-RubrikFileset [-NameFilter <String>] [-HostNameFilter <String>] [-id <String>] [-Relic] [-DetailedObject]
 [-SLA <String>] [-TemplateID <String>] [-PrimaryClusterID <String>] [-ShareID <String>] [-SLAID <String>]
 [-Server <String>] [-api <String>] [<CommonParameters>]

ID

Get-RubrikFileset [-id <String>] [-Server <String>] [-api <String>] [<CommonParameters>]

DESCRIPTION

The Get-RubrikFileset cmdlet is used to pull a detailed data set from a Rubrik cluster on any number of filesets A number of parameters exist to help narrow down the specific fileset desired Note that a fileset name is not required; you can use params (such as HostName and SLA) to do lookup matching filesets

EXAMPLES

EXAMPLE 1

This will return details on the fileset named "C_Drive" assigned to any hosts

EXAMPLE 2

This will return details on the fileset named "C_Drive" assigned to only the "Server1" host

EXAMPLE 3

This will return details on the fileset named "C_Drive" assigned to any hosts with an SLA Domain matching "Gold"

EXAMPLE 4

This will return details on the filesets that contain the string "_Drive" in its name and are assigned to any hosts with an SLA Domain matching "Gold"

EXAMPLE 5

This will return details on the filesets for the hostname "mssqlserver01" and are assigned to any hosts with an SLA Domain matching "Gold"

EXAMPLE 6

This will return details on the filesets that contain the string "mssql" in its parent's hostname and are assigned to any hosts with an SLA Domain matching "Gold"

EXAMPLE 7

This will return the filset matching the Rubrik global id value of "Fileset:::111111-2222-3333-4444-555555555555"

EXAMPLE 8

This will return all removed filesets that were formerly protected by Rubrik.

EXAMPLE 9

This will return the fileset object with all properties, including additional details such as snapshots taken of the Fileset object. Using this switch parameter negatively affects performance

PARAMETERS

-Name

Name of the fileset

-NameFilter

-HostName

Exact name of the host using a fileset Partial match of hostname, using an 'in fix' search.

-HostNameFilter

-id

Rubrik's fileset id

-Relic

Filter results to include only relic (removed) filesets

-DetailedObject

DetailedObject will retrieved the detailed VM object, the default behavior of the API is to only retrieve a subset of the full Fileset object unless we query directly by ID. Using this parameter does affect performance as more data will be retrieved and more API-queries will be performed.

-SLA

SLA Domain policy assigned to the database

-TemplateID

Filter the summary information based on the ID of a fileset template.

-PrimaryClusterID

Filter the summary information based on the primarycluster_id of the primary Rubrik cluster. Use 'local' as the primary_cluster_id of the Rubrik cluster that is hosting the current REST API session.

-ShareID

Rubrik's Share id

-SLAID

SLA id value

-Server

Rubrik server IP or FQDN

-api

API version

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 Chris Wahl for community usage Twitter: @ChrisWahl GitHub: chriswahl

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikfileset

Last updated

Was this helpful?