How to use PowerShell cmdlets for Dynamics CRM

Leave a comment

In the Dynamics CRM SDK, there is the capability to use PowerShell to connect to CRM.

To do this, in the SDK\Bin folder, there is a file called RegisterXRMTooling.ps1:

Open PowerShell as an Administrator and from the file directory, run .\RegisterXRMTooling.ps1

Once complete, you should see something like below:

Next run:

Add-PSSnapin Microsoft.Xrm.Tooling.Connector

Type: Get-Help “CRM” to see it working:

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *