Article | Stuart Elcocks | 01/04/2023
The Drm.Templates.Powershell Module
The powershell module currently offers the following cmdlets
Cmdlet | Description |
---|---|
Connect-CrmOnline | Connect to your Dynamics environments, primarily used in conjunction with generating templates. |
New-DrmTemplate | Generate templates from existing Dynamics environments. |
New-DrmDeployment | Deploy your templates to multiple Dynamics environments. |
It's available from the PowerShell Gallery at https://www.powershellgallery.com/packages/Drm.Templates.Powershell
Install the PowerShell module
To install the PowerShell module run this command
Install-Module -Name Drm.Templates.Powershell -AllowClobber
To check its installed run this to retrieve the drm commands.
Get-Command *drm*
PowerShell compatibility
Currently the Module has dependencies on the
Microsoft.Xrm.Tooling.Connector provided by Microsoft.
Unfortunately support for this does not include PowerShell Core.
The plan at this stage is to move away from this dependency and make Drm.Templates.Powershell PowerShell core compatible.