{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-tw/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"}],"update_at":"2026/9/1","updated_at_date_time":"2026-09-01T11:47:17.3219535Z"},"_path":"module/configurationmanager/get-cmorchestrationgroup.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/get-cmorchestrationgroup?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Get-CMOrchestrationGroup.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"02eda26fa7393a83fed7c07d31c7d105599d8eb6","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/02eda26fa7393a83fed7c07d31c7d105599d8eb6/sccm-ps/ConfigurationManager/Get-CMOrchestrationGroup.md","github_contributors":["aczechowski"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/27/2021","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","online version":"","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/Get-CMOrchestrationGroup.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Get-CMOrchestrationGroup.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 11:47 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/get-cmorchestrationgroup","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Get-CMOrchestrationGroup","schemaType":"PowershellCmdlet","summary":"<p>取得協調流程群組物件。</p>\n","uid":"ConfigurationManager.Get-CMOrchestrationGroup"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Get-CMOrchestrationGroup":{"href":"get-cmorchestrationgroup","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Get-CMOrchestrationGroup","schemaType":"PowershellCmdlet","summary":"<p>取得協調流程群組物件。</p>\n","uid":"ConfigurationManager.Get-CMOrchestrationGroup"}},"description":"<p>使用此 Cmdlet 依名稱或標識碼取得協調流程群組物件。 您可以使用此物件來啟動、移除或設定協調流程群組。 針對這些其他動作，請使用下列 Cmdlet：</p>\n<ul>\n<li>\n              <a href=\"invoke-cmorchestrationgroup\">Invoke-CMOrchestrationGroup</a></li>\n<li>\n              <a href=\"remove-cmorchestrationgroup\">Remove-CMOrchestrationGroup</a></li>\n<li>\n              <a href=\"set-cmorchestrationgroup\">Set-CMOrchestrationGroup</a></li>\n</ul>\n<p>使用協調流程群組，以更有效地控制將軟體更新部署至裝置。 您可能需要仔細管理特定工作負載的更新，或將兩者之間的行為自動化。 如需詳細資訊，請 <a href=\"/mem/configmgr/sum/deploy-use/orchestration-groups\">參閱關於 Configuration Manager 中的協調流程群組</a>。</p>\n<div class=\"NOTE\">\n<p>注意事項</p>\n<p>從 Configuration Manager 月臺磁碟驅動器執行 Configuration Manager Cmdlet，例如 <code>PS XYZ:\\&gt;</code>。 如需詳細資訊，請 <a href=\"/powershell/sccm/overview\">參閱開始使用</a>。</p>\n</div>\n","examples":[{"code":"$og = Get-CMOrchestrationGroup -Name \"IT servers\"\n\nforeach ( $member in $og.MOGMembers ) {\n  Get-CMDevice -Id $member -Fast | Select-Object Name, Build\n}","description":"","summary":"<p>此範例會先使用 <strong>Get-CMOrchestrationGroup</strong> Cmdlet 來取得名為 <strong>IT 伺服器</strong>之協調流程群組的物件。</p>\n<p>然後，它會迴圈查看協調流程群組的每個成員，而協調流程群組是由其資源標識符所儲存。 然後，它會使用 <strong>Get-CMDevice</strong> Cmdlet 來顯示裝置名稱和 OS 組建屬性。</p>\n","title":"範例 1：檢視協調流程群組成員的詳細數據"},{"code":"Get-CMOrchestrationGroup | Where-Object ( $_.PostScriptApprovalState -eq $false -or $_.PreScriptApprovalState -eq $false ) | Select-Object Name","description":"","summary":"<p>下列範例會從網站取得所有協調流程群組。 它會使用內建的 <a href=\"/powershell/module/microsoft.powershell.core/where-object\">Where-Object</a> Cmdlet 來篩選具有其中一個腳本核准狀態屬性且值為 <code>0</code>的結果。 它再次使用管線運算符，以內建 <a href=\"/powershell/module/microsoft.powershell.utility/select-object\">的 Select-Object</a> Cmdlet 減少傳回的屬性，只顯示協調流程群組的名稱。</p>\n<p>您可以使用此範例來顯示具有未核准前置或後置腳本的所有協調流程群組。</p>\n","title":"範例 2：使用未經核准的腳本取得協調流程群組"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"invoke-cmorchestrationgroup","text":"Invoke-CMOrchestrationGroup"},{"href":"new-cmorchestrationgroup","text":"New-CMOrchestrationGroup"},{"href":"remove-cmorchestrationgroup","text":"Remove-CMOrchestrationGroup"},{"href":"set-cmorchestrationgroup","text":"Set-CMOrchestrationGroup"},{"href":"/mem/configmgr/sum/deploy-use/orchestration-groups","text":"關於 Configuration Manager 中的協調流程群組"}],"module":"ConfigurationManager","name":"Get-CMOrchestrationGroup","notes":"<p>此 Cmdlet 會傳回SMS_MachineOrchestrationGroup WMI 類別 <strong>的</strong> 物件。</p>\n","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>此參數會將通配符視為常值字元值。 您無法將其與 <strong>ForceWildcardHandling</strong> 結合。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會處理通配符，並可能導致非預期的行為 (不建議) 。 您無法將其與 <strong>DisableWildcardHandling</strong> 結合。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"MOGID","defaultValue":"None","description":"<p>指定要取得之協調流程群組的標識碼。 這個值是 <strong>MOGID</strong> 屬性，也就是整數。 例如，<code>16777217</code>。</p>\n","isRequired":true,"name":"Id","parameterValueGroup":"","position":"0","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"OrchestrationGroupName","defaultValue":"None","description":"<p>指定要取得之協調流程群組的名稱。</p>\n","name":"Name","parameterValueGroup":"","position":"0","type":"<span class=\"no-loc xref\">String</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>取得協調流程群組物件。</p>\n","syntaxes":["Get-CMOrchestrationGroup [[-Name] <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]\n [<CommonParameters>]","Get-CMOrchestrationGroup [-Id] <Int32> [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.Get-CMOrchestrationGroup","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-tw","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Get-CMOrchestrationGroup.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/get-cmorchestrationgroup","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Get-CMOrchestrationGroup","schemaType":"PowershellCmdlet","summary":"<p>取得協調流程群組物件。</p>\n","uid":"ConfigurationManager.Get-CMOrchestrationGroup"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/get-cmorchestrationgroup?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/get-cmorchestrationgroup?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 Cmdlet 依名稱或標識碼取得協調流程群組物件。 您可以使用此物件來啟動、移除或設定協調流程群組。 針對這些其他動作，請使用下列 Cmdlet：</p>\n<ul>\n<li>\n              <a href=&quot;invoke-cmorchestrationgroup&quot;>Invoke-CMOrchestrationGroup</a></li>\n<li>\n              <a href=&quot;remove-cmorchestrationgroup&quot;>Remove-CMOrchestrationGroup</a></li>\n<li>\n              <a href=&quot;set-cmorchestrationgroup&quot;>Set-CMOrchestrationGroup</a></li>\n</ul>\n<p>使用協調流程群組，以更有效地控制將軟體更新部署至裝置。 您可能需要仔細管理特定工作負載的更新，或將兩者之間的行為自動化。 如需詳細資訊，請 <a href=&quot;/mem/configmgr/sum/deploy-use/orchestration-groups&quot;>參閱關於 Configuration Manager 中的協調流程群組</a>。</p>\n<div class=&quot;NOTE&quot;>\n<p>注意事項</p>\n<p>從 Configuration Manager 月臺磁碟驅動器執行 Configuration Manager Cmdlet，例如 <code>PS XYZ:\\&amp;gt;</code>。 如需詳細資訊，請 <a href=&quot;/powershell/sccm/overview&quot;>參閱開始使用</a>。</p>\n</div>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Get-CMOrchestrationGroup.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"zh-tw\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Get-CMOrchestrationGroup\" />\r\n<meta name=\"notes\" content=\"<p>此 Cmdlet 會傳回SMS_MachineOrchestrationGroup WMI 類別 <strong>的</strong> 物件。</p>\n\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>取得協調流程群組物件。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Get-CMOrchestrationGroup [[-Name] <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Get-CMOrchestrationGroup [-Id] <Int32> [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Get-CMOrchestrationGroup\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}