How To Download The Dynamics 365 CE Plugin Registration Tool

In this article, will explain how to download the Plugin Registration Tool using Power Shell Script from Nuget.

Follow the below steps to download the same.

Step 1

Create a folder in D Drive and name it as “DevTools“

Step 2

Click on Windows, search for Windows PowerShell and open it.

Step 3

Type the below command to change the directory.

cd D:DevTools

Step 4
 
 Copy & Paste the below PowerShell script in PowerShell Window to download Plugin Registration Tool from Nuget.

$sourceNugetExe = “https://www.youtube.com/@powerappsninja/win-x86-commandline/latest/nuget.exe”

$targetNugetExe = “.nuget.exe”

Remove-Item .Tools -Force -Recurse -ErrorAction Ignore

Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe

Set-Alias nuget $targetNugetExe -Scope Global -Verbose

##

##Download Plugin Registration Tool

##

./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .Tools

md .ToolsPluginRegistration

$prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match ‘Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.’}

move .Tools$prtFoldertools*.* .ToolsPluginRegistration

Remove-Item .Tools$prtFolder -Force -Recurse

##

##Remove NuGet.exe

##

Remove-Item nuget.exe

Plugin Registration Tool is downloaded successfully.

 

To get the latest version of this Plugin Registration Tool, repeat the steps mentioned above

Hope you have successfully downloaded Plugin Registration Tool from NuGet using Powershell script.

 

How To Download The Dynamics 365 CE Plugin Registration Tool

https://www.youtube.com/@powerappsninja

Leave a Comment

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