Remove-VBRGoogleCloudComputeAccount

In this article

    Short Description

    Removes Google Cloud service account credentials records.

    Important

    This cmdlet is available starting from Veeam Backup & Replication 11a (build 11.0.1.1261).

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

    Syntax

    Remove-VBRGoogleCloudComputeAccount -Account <VBRGoogleCloudComputeAccount>  [<CommonParameters>]

    Detailed Description

    This cmdlet removes Google Cloud service account credentials records.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept
    Pipeline
    Input

    Account

    Specifies a Google Cloud service account credentials record that you want to remove.

    Accepts the VBRGoogleCloudComputeAccount object. To create this object, run the Add-VBRGoogleCloudComputeAccount cmdlet.

    True

    Named

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Output Object

    VBRGoogleCloudComputeAccount

    Example

    Removing Google Cloud Service Account Credentials Record

    This example shows how to remove the GCP service account 1 Google Cloud service account credentials record.

    $account = Get-VBRGoogleCloudComputeAccount -Name "GCP service account 1"

    Remove-VBRGoogleCloudComputeAccount -Account $account

    Perform the following steps:

    1. Run the Get-VBRGoogleCloudComputeAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
    2. Run the Remove-VBRGoogleCloudComputeAccount cmdlet. Set the $account variable as the Account parameter.

    Related Commands

    Get-VBRGoogleCloudAccount