Remove-LegacyCDSDatabase
This command is used for removing the legacy Dataverse (version 1.0) database.
Syntax
Default (Default)
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-EnvironmentName
This is the environment ID (Guid) which has the legacy database to be removed.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.