Microsoft Releases PowerShell Module for Data & User Management, System Settings in Dynamics CRM
On its Dynamics CRM blog, Microsoft has announced the availability of a new PowerShell module for CRM.
Co-created by Microsoft's Kenichiro Nakamura and Sean McNellis, the Microsoft.Xrm.Data.PowerShell module is a single PowerShell module with over 60 PowerShell functions to perform data operations in Dynamics CRM and manipulate user and system settings. While some of these actions were possible already using the official CRM PowerShell cmdlets, they required using multiple PowerShell snap-ins.
Among the new capabilities using the module:
- Create, retrieve, update, and delete records in CRM
- Manage CRM security by adding/managing users, teams, and their roles
- Import and export CRM solutions
- Manage user and system settings
The module is built using the Microsoft.Xrm.Tooling.CrmConnector.PowerShell snap-in, and the two XRM Tooling PowerShell cmdlets (Get-CrmOrganizations and Get-CrmConnection) are also part of this module. It works with both CRM Online and on-premise CRM 2013 and later, and requires you use PowerShell 4.0 or later.
For detailed information about the module, and how to import and use it, see Microsoft.Xrm.Data.PowerShell module for CRM.