简体   繁体   中英

How to get CRM Processes using PowerShell?

For a task in our team, we manually deactivate CRM Processes by navigating to Settings -> Processes . We would like to use PowerShell scripts to get the list of active processes and deactivate them. We've been trying a few things with Get-CrmAdvancedSetting & Get-CrmSetting , but haven't really found the way. Are these the right commands or there are more?

我认为开箱即用无法做到这一点,当前的 CRM PowerShell 脚本没有为 CRM 的所有功能提供完整的工具。

Using power-shell you can disable the CRM server which will stop the CRM services. Then when needed call the enable CRM sever power-shell command.

Disable command

Parameter Set: Default Disable-CrmServer [-Name] [-Credential ] [-Diag] [-DwsServerUrl ] [-Timeout ] [-Confirm] [-WhatIf] [ ]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM