Find-RubrikFile

SYNOPSIS

Searches snapshots for files within a Rubrik protected object.

SYNTAX

Find-RubrikFile [-id] <String> [[-SearchString] <String>] [[-Limit] <String>] [-Server <String>]
 [-api <String>] [<CommonParameters>]

DESCRIPTION

The Find-RubrikFile cmdlet uses the internal search API to find files within snapshots of protected objects

EXAMPLES

EXAMPLE 1

Get-RubrikVM -Sla Gold | Find-RubrikFile -SearchString "pizza"

This example will search all VM snapshots in the Gold SLA for a filename containing "pizza"

EXAMPLE 2

This example will search filesets for the VM "MyVM" for a filename containing "pancake"

PARAMETERS

-id

ID of the object to search

-SearchString

String to search for in filename

-Limit

Limit the number of search results (API defaults to 100)

-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 Jake Robinson for community usage Twitter: @jakerobinson GitHub: jakerobinson

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/find-rubrikfile

Last updated

Was this helpful?