Set-RubrikBlackout

SYNOPSIS

Connects to Rubrik and sets blackout (stops/starts all snaps)

SYNTAX

Set-RubrikBlackout [-Set] [[-Server] <String>] [[-api] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Set-RubrikBlackout cmdlet uses a switch parameter to set cluster blackout

EXAMPLES

EXAMPLE 1

Set-RubrikBlackout -Set

Sets Rubrik Global Blackout window to be active on current cluster

EXAMPLE 2

Set-RubrikBlackout -Set:$false

Sets Rubrik Global Blackout window to be set to inactive on current cluster

PARAMETERS

-Set

Rubrik blackout value

Type: SwitchParameter
Parameter Sets: (All)
Aliases: isGlobalBlackoutActive

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Server

Rubrik server IP or FQDN

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: $global:RubrikConnection.server
Accept pipeline input: False
Accept wildcard characters: False

-api

API version

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: $global:RubrikConnection.api
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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 Pete Milanese for community usage Twitter: @pmilano1 GitHub: pmilano1

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/set-rubrikblackout

Last updated