Disconnect-VBRGoogleCloudService

Short Description

Stops active sessions with Google Cloud object storage.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Disconnect-VBRGoogleCloudService -Connection <IVBRGoogleCloudConnection> [<CommonParameters>]

Detailed Description

This cmdlet stops active sessions with Google Cloud object storage.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Connection

Specifies a session with Google Cloud object storage that you want to stop.

Accepts the VBRGoogleCloudConnection object. To create this object, run the Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage. cmdlet.

IVBRGoogleCloudConnection

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Disconnecting Google Cloud Service

This example shows how to stops an active session with Google Cloud object storage.

$account = Get-VBRGoogleCloudAccount -AccessKey "ABCDEFGHIGKLMNOP"

$session = Connect-VBRGoogleCloudService -Account $account -ServiceType CapacityTier

Disconnect-VBRGoogleCloudService -Connection $session

Perform the following steps:

  1. Run the Get-VBRGoogleCloudAccountReturns Google Cloud credentials records. cmdlet. Specify the AccessKey parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage. cmdlet. Specify the Account and the ServiceType parameters value. Save the result to the $session variable.
  3. Run the Disconnect-VBRGoogleCloudService cmdlet. Set the $session variable as the Connection parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18