Jaa


Remove-LegacyCDSDatabase

This command is used for removing the legacy Dataverse (version 1.0) database.

Syntax

Remove-LegacyCDSDatabase
      [-EnvironmentName] <String>
      [-DatabaseId] <String>
      [<CommonParameters>]

Description

The Remove-LegacyCDSDatabase cmdlet removes the legacy database from the environment. To make sure the database exists, the command tries to get the database first. Then deletes the database and verifies that the database is deleted.

Examples

EXAMPLE 1

Remove-LegacyCDSDatabase -EnvironmentName '0e075c48-a792-4705-8f99-82eec3b1cd8e' -DatabaseId '80c75532-5cf7-4d27-b5ef-6ab9f9024ab6'

Deletes the legacy database with the ID 80c75532-5cf7-4d27-b5ef-6ab9f9024ab6 from the environment with the ID 0e075c48-a792-4705-8f99-82eec3b1cd8e.

Parameters

-DatabaseId

This is the database ID for the legacy database to be removed.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

This is the environment ID (Guid) which has the legacy database to be removed.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False