Get-RubrikObject
SYNOPSIS
Retrieve summary information for all objects that are registered with a Rubrik cluster.
SYNTAX
FilterByName
FilterByID
DESCRIPTION
The Get-RubrikObject cmdlet is used to retrive information on one or more objects existing within the Rubrik cluster. Rubrik objects consist of any type of VM, Host, Fileset, NAS Share, cloud instance, etc.
EXAMPLES
EXAMPLE 1
This will return all known objects within the Rubrik cluster matching the given name pattern
EXAMPLE 2
This will return all known objects within the Rubrik cluster matching the given id pattern
EXAMPLE 3
This will return all known Virtual Machines within the Rubrik cluster matching the given name pattern
EXAMPLE 4
This will return all known objects within the Rubrik cluster except those related to databases matching the given name pattern
EXAMPLE 5
This will return all known VMware VMs and Oracle Databases within the Rubrik cluster matching the given name pattern
EXAMPLE 6
This will return all known objects within the Rubrik cluster except Nutanix VMs and API tokens matching the given name pattern
PARAMETERS
-NameFilter
Filter by Name
-IdFilter
Filter by ID
-IncludeObjectType
Filter Objects to include
-ExcludeObjectType
Filter Objects to exclude
-IncludeObjectClass
Filter Object Classes to include
-ExcludeObjectClass
Filter Object Classes to exclude
-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 Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston
RELATED LINKS
https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikobject
Last updated