Microsoft Dynamics CRM 4.0:Powershell cmdlet 是否可用?

发布于 2024-11-04 07:21:57 字数 378 浏览 0 评论 0原文

我对 Microsoft Dynamics CRM 4.0 完全陌生,我的任务是围绕 MS-Crm 管理创建一些自动化。

为此,我想使用powershell。我发现有一些 cmdlet 允许您使用 CRM(请参阅 MSDN)。但我似乎无法弄清楚这些 cmdlet 是否仅在 Dynamics 2011 中可用,还是也可在 Dynamics 4.0 中使用?

我尝试在服务器上运行“Add-PSSnapin Microsoft.Crm.PowerShell” - 但收到一条错误消息,表明管理单元不可用。所以,不确定发生了什么。

I am entirely new to Microsoft Dynamics CRM 4.0 and have been tasked to create some automation around MS-Crm administration.

To this end, I wish to use powershell. I have found that there are cmdlets that allow you to work with CRM (see MSDN). But what I cant seem to find out is whether these cmdlets are only available in Dynamics 2011 or are they available in Dynamics 4.0 also?

I tried running "Add-PSSnapin Microsoft.Crm.PowerShell" on the server - but get an error message that the snapin is not available. So, not sure as to what is going on.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

蓬勃野心 2024-11-11 07:21:57

对于 Dynamics CRM 4,没有可用的 PowerShell cmdlet。但是,Dynamics CRM 2011 现有的 cmdlet 主要是自动化部署服务或访问组织设置的便捷方法。

其中大部分也可在 Dynamics CRM 4 中使用。
查看 Dynamics CRM 4 的部署 SDK

请记住,Dynamics CRM 2011 的某些 cmdlet 使用其部署服务的新功能,例如 Import-CrmOrganization cmdlet。这是 Dynamics CRM 4 部署服务无法实现的。

For Dynamics CRM 4 there are no PowerShell cmdlets available. However, the cmdlets which are existing for Dynamics CRM 2011 are mostly a convenient way to automate the deployment service or to access the organization settings.

Most of these is also available in Dynamics CRM 4.
Take a look at the Deployment SDK for Dynamics CRM 4.

Keep in mind that some of the cmdlets for Dynamics CRM 2011 use new features of its Deployment Service, as for example the Import-CrmOrganization cmdlet. This is not possible with the Dynamics CRM 4 Deployment Service.

〗斷ホ乔殘χμё〖 2024-11-11 07:21:57

CRM 4 没有官方的 PowerShell cmdlet,但部署 Web 服务可用于 4.0。您可以针对它进行编码,或者创建您自己的针对它运行的 cmdlet。

There are no official PowerShell cmdlets for CRM 4, but the Deployment web service is available for 4.0. You could code against that, or create your own cmdlets that run against it.

痴骨ら 2024-11-11 07:21:57

您是否安装了部署工具角色

查看这篇文章了解更多信息

Do you installed the Deployment Tools role ?

Have a look to this post for more informations.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文