Protect-RubrikVolumeGroup
SYNOPSIS
Connects to Rubrik and assigns an SLA to a VolumeGroup
SYNTAX
None (Default)
Protect-RubrikVolumeGroup -id <String> [-SLAID <String>] [-ExcludeDrive <Array>] [-ExcludeIDs <Array>]
[-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]SLA_Explicit
Protect-RubrikVolumeGroup -id <String> [-SLA <String>] [-SLAID <String>] [-ExcludeDrive <Array>]
[-ExcludeIDs <Array>] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]SLA_Unprotected
Protect-RubrikVolumeGroup -id <String> [-DoNotProtect] [-SLAID <String>] [-ExcludeDrive <Array>]
[-ExcludeIDs <Array>] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]DESCRIPTION
The Protect-RubrikVolumeGroup cmdlet will assign a SLA Domain to Volumes on a window host. The SLA Domain contains all policy-driven values needed to protect workloads. You can first use Get-RubrikVolumeGroup to get the one volume group you want to protect, and then pipe the results to Protect-RubrikVolumeGroup. You can exclude volumes by specifiying the driveletter or the volumeID.
EXAMPLES
EXAMPLE 1
This will assign the Gold SLA Domain to the specified Volume Group, including all volumes presently on the system
EXAMPLE 2
This will assign the Gold SLA Domain to the volume group belonging to the specified hostname, including all volumes presently on the system
EXAMPLE 3
This will assign the Gold SLA Domain to the volume group belonging to the specified hostname, including all volumes presently on the system except for the C and E drives
EXAMPLE 4
This will assign the Gold SLA Domain to the volume group belonging to the specified hostname, including all volumes presently on the system excpt for the disks with the specified IDs
PARAMETERS
-id
VolumeGroup ID
-SLA
The SLA Domain in Rubrik
-DoNotProtect
Removes the SLA Domain assignment
-SLAID
SLA id value
-ExcludeDrive
Specifiy MountPoints to be excluded
-ExcludeIDs
Specifiy IDs to be excluded (alternative to MountPoints)
-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 Pierre Flammer for community usage Twitter: @PierreFlammer GitHub: Pierre-PvF
RELATED LINKS
Last updated
Was this helpful?