PowerShell cmdlet that wraps Microsoft's Dynamics 365 Configuration Migration Tool.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone https://github.com/opc-cpvp/OPC.PowerApps.DataMigration.git
- Microsoft .NET 4.7+
- PowerShell v3+
After compiling the class library, simply install the module using the following command:
PS> Import-Module OPC.PowerApps.DataMigration.dll
This command is used to extract the schema for a given environment.
Get-EnvironmentSchema
-EnvironmentUrl <String>
-Credentials <PSCredential>
-SchemaOutputPath <String>
[-ConfigurationPath <String>]
[-SchemaFileName <String>]
[<CommonParameters>]
PS> $cred = Get-Credential
PS> Get-EnvironmentSchema -EnvironmentUrl "https://<environment-name>.crm3.dynamics.com/" -Credentials $cred -SchemaOutputPath . -ConfigurationPath "configuration.json" -SchemaFileName "environment_schema.xml"
This command is used to extract the data for a given environment.
Get-EnvironmentData
-EnvironmentUrl <String>
-Credentials <PSCredential>
-SchemaPath <String>
-DataOutputPath <String>
[-DataFileName <String>]
[<CommonParameters>]
PS> $cred = Get-Credential
PS> Get-EnvironmentData -EnvironmentUrl "https://<environment-name>.crm3.dynamics.com/" -Credentials $cred -SchemaPath "SchemaFile.xml" -DataOutputPath . -DataFileName "data.zip"
- Microsoft .NET - The framework used
We use SemVer for versioning. For the versions available, see the tags on this repository.
- OPC-CPVP - Initial work - OPC-CPVP
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details