The Microsoft.Xrm.Data.Powershell module for PowerShell provides data operations such as CRUD. The module is available for download at: https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell/releases/
Download the ZIP file and unblock it by right clicking. If you do not unblock it you will get errors relating to could not load file or assembly with the Microsoft.Crm.Sdk.Proxy.dll.
Next extract the zip. There is one folder:
With multiple files:
Copy the folder to the C:\Windows\System32\WindowsPowerShell\v1.0\Modules folder:
Check the PowerShell version. This module requires version 4:
Set the execution policy:
Next run install-module Microsoft.Xrm.Data.PowerShell:
To connect to a CRM Online organization, run the command:
Connect-CrmOnlineDiscovery -InteractiveMode
This will launch the login window. Log in:
I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.
IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.
THANK YOU, AND LET'S KEEP LEARNING TOGETHER.
CARL