Skip to content

opc-cpvp/OPC.PowerApps.DataMigration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPC PowerApps Data Migration

PowerShell cmdlet that wraps Microsoft's Dynamics 365 Configuration Migration Tool.

Getting Started

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

Prerequisites

  • Microsoft .NET 4.7+
  • PowerShell v3+

Installing

After compiling the class library, simply install the module using the following command:

PS> Import-Module OPC.PowerApps.DataMigration.dll

Commands

Get-EnvironmentSchema

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>]

Example

PS> $cred = Get-Credential
PS> Get-EnvironmentSchema -EnvironmentUrl "https://<environment-name>.crm3.dynamics.com/" -Credentials $cred -SchemaOutputPath . -ConfigurationPath "configuration.json" -SchemaFileName "environment_schema.xml"

Get-EnvironmentData

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>]

Example

PS> $cred = Get-Credential
PS> Get-EnvironmentData -EnvironmentUrl "https://<environment-name>.crm3.dynamics.com/" -Credentials $cred -SchemaPath "SchemaFile.xml" -DataOutputPath . -DataFileName "data.zip"

Built With

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •