Wed, 05/26/2021 - 16:40 By Amaury Veron Contributor Lloyd Sebag

Dataverse PowerDataOps

Let me introduce you a PowerShell module for Dataverse: PowerDataOps. PowerShell has many benefits: you can edit and run script on Windows servers, execute .Net code, use it easily in many tools, ... 

You can find the GitHub for the project here: https://github.com/AymericM78/PowerDataOps. As you will quickly see, the module is very well documented.

This module provides various features to:

  • Execute CRUD operations on Dataverse data
  • Work with solutions
  • Administrate/manage the environment
  • Perform DevOps operations

You can find the exhaustive list of commands in this file of the GitHub.

The module is built on top of Microsoft PowerShell modules: 

It also uses some C# libraries such as Microsoft.Xrm.Sdk.Entity.

 

This module allows to use very easily the features described above.

To explore and discover the module, I would advise you to start by having a look at these two great samples:

  • Working with data.md
    • In just a few lines, performs the following operations:
      • Connect to Microsoft Dataverse
      • Create a record
      • Retrieve all records and output in a gridview
      • Update a record
      • Retrieve a specific record
      • Delete record
  • Working with solutions.md
    • In just a few lines, performs the following operations:
      • Connect to Microsoft Dataverse
      • Retrieve a solution record (row) with its uniquename
      • Increase version number
      • Export in managed

 

I hope you will enjoy this module. Don't hesitate to go in the GitHub and explore it more!

Dataverse PowerDataOps

Add new comment

Image CAPTCHA
Enter the characters shown in the image.