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 <VBRGoogleCloudConnection> [<CommonParameters>]

Detailed Description

This cmdlet stops active sessions with Google Cloud object storage.

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-VBRGoogleCloudService cmdlet.

True

Named

True (ByValue, ByPropertyName)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of 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

Disconnect-VBRGoogleCloudService -Connection $session

Perform the following steps:

  1. Run the Get-VBRGoogleCloudAccount cmdlet. Specify the AccessKey parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRGoogleCloudService cmdlet. Specify the Account parameter value. Save the result to the $session variable.
  3. Run the Disconnect-VBRGoogleCloudService cmdlet. Set the $session variable as the Connection parameter value.

Related Commands