{"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/8/3","updated_at_date_time":"2026-08-03T08:10:07.4107043Z"},"_path":"module/configurationmanager/invoke-cmclientaction.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/invoke-cmclientaction?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Invoke-CMClientAction.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","description":"將通知傳送至用戶端計算機，以觸發立即的客戶端動作。","document_id":"36bfc442-70e0-9e45-fb93-5ee428c6eaee","document_version_independent_id":"0cd8f378-f1b3-f4a9-412a-2ca5e2b43dee","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":"5e4743da651609d0ffccffebcf46f06b3732def8","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/5e4743da651609d0ffccffebcf46f06b3732def8/sccm-ps/ConfigurationManager/Invoke-CMClientAction.md","github_contributors":["aczechowski"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"07/30/2020","ms.service":"microsoft-endpoint-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/Invoke-CMClientAction.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Invoke-CMClientAction.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-08-03 08:10 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/invoke-cmclientaction","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Invoke-CMClientAction","schemaType":"PowershellCmdlet","summary":"<p>將通知傳送至用戶端計算機，以觸發立即的客戶端動作。</p>\n","uid":"ConfigurationManager.Invoke-CMClientAction"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Invoke-CMClientAction":{"href":"invoke-cmclientaction","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Invoke-CMClientAction","schemaType":"PowershellCmdlet","summary":"<p>將通知傳送至用戶端計算機，以觸發立即的客戶端動作。</p>\n","uid":"ConfigurationManager.Invoke-CMClientAction"}},"description":"<p>\n              <strong>Invoke-CMClientAction</strong> Cmdlet 會將通知傳送至用戶端計算機，以觸發立即的客戶端動作。 您可以指定一或多部用戶端計算機，或將通知傳送至指定裝置集合中的所有計算機。</p>\n<p>如需這些動作的詳細資訊，請參閱 <a href=\"/mem/configmgr/core/clients/manage/client-notification\">用戶端通知</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":"Invoke-CMClientAction -DeviceName \"SleepDevice01\" -ActionType ClientNotificationWakeUpClientNow -ParentCollectionId $col.CollectionID","description":"","summary":"<p>下列範例會將喚醒動作傳送至特定集合中的裝置：</p>\n","title":"範例 1：喚醒裝置"},{"code":"Invoke-CMClientAction -DeviceName \"Computer073\" -NotificationType RequestMachinePolicyNow","description":"","summary":"<p>此命令會將類型的 <code>RequestMachinePolicyNow</code> 通知傳送至名為的 <code>Computer073</code>裝置。</p>\n","title":"範例 2：從裝置要求機器原則"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"get-cmdevice","text":"Get-CMDevice"},{"href":"get-cmdevicecollection","text":"Get-CMDeviceCollection"},{"href":"/mem/configmgr/core/clients/manage/client-notification","text":"用戶端通知"}],"module":"ConfigurationManager","name":"Invoke-CMClientAction","notes":"<p>Cmdlet 別名： <strong>Invoke-CMClientNotification</strong></p>\n","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>指定要傳送至客戶端的動作關鍵字。 若要要求機器或用戶原則，請使用 <strong>-NotificationType</strong> 參數。</p>\n","name":"ActionType","parameterValueGroup":"None, EndpointProtectionFullScan, EndpointProtectionQuickScan, EndpointProtectionDownloadDefinition, EndpointProtectionEvaluateSoftwareUpdate, EndpointProtectionExcludeScanPaths, EndpointProtectionAllowThreat, EndpointProtectionRestoreQuarantinedItems, ClientNotificationRequestMachinePolicyNow, ClientNotificationRequestUsersPolicyNow, ClientNotificationRequestDDRNow, ClientNotificationRequestSWInvNow, ClientNotificationRequestHWInvNow, ClientNotificationAppDeplEvalNow, ClientNotificationSUMDeplEvalNow, ClientRequestSUPChangeNow, ClientRequestDHAChangeNow, ClientNotificationRebootMachine, DiagnosticsEnableVerboseLogging, DiagnosticsDisableVerboseLogging, DiagnosticsCollectFiles, EndpointProtectionRestoreWithDeps, ClientNotificationCheckComplianceNow, RequestScriptExecution, RequestCMPivotExecution, ClientNotificationWakeUpClientNow","position":"Named","type":"<span class=\"no-loc xref\">ClientActionType</span>\n"},{"aliases":"DeviceCollection","defaultValue":"None","description":"<p>指定要設為目標的集合物件。</p>\n","isRequired":true,"name":"Collection","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"DeviceCollectionId","defaultValue":"None","description":"<p>依標識元指定要設為目標的集合。</p>\n","isRequired":true,"name":"CollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"DeviceCollectionName","defaultValue":"None","description":"<p>依名稱指定要設為目標的集合。</p>\n","isRequired":true,"name":"CollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"cf","defaultValue":"None","description":"<p>執行 Cmdlet 之前提示您確認。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定要設為目標的裝置物件。</p>\n","isRequired":true,"name":"Device","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"ResourceId","defaultValue":"None","description":"<p>依標識元指定要設為目標的裝置。</p>\n","isRequired":true,"name":"DeviceId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"Name","defaultValue":"None","description":"<p>依名稱指定要設為目標的裝置。</p>\n","isRequired":true,"name":"DeviceName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"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":"","defaultValue":"None","description":"<p>向用戶端要求機器或用戶原則。 若要觸發所有其他動作，請使用 <strong>-ActionType</strong> 參數。</p>\n","name":"NotificationType","parameterValueGroup":"RequestMachinePolicyNow, RequestUsersPolicyNow","position":"Named","type":"<span class=\"no-loc xref\">ClientNotificationType</span>\n"},{"aliases":"ParentDeviceCollection","defaultValue":"None","description":"<p>使用此參數來支持喚醒機器。</p>\n","name":"ParentCollection","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"ParentDeviceCollectionId","defaultValue":"None","description":"<p>使用此參數來支持喚醒機器。</p>\n","name":"ParentCollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"ParentDeviceCollectionName","defaultValue":"None","description":"<p>使用此參數來支持喚醒機器。</p>\n","name":"ParentCollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"wi","defaultValue":"None","description":"<p>顯示執行 Cmdlet 時會發生什麼情況。 它不會執行 Cmdlet。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>將通知傳送至用戶端計算機，以觸發立即的客戶端動作。</p>\n","syntaxes":["Invoke-CMClientAction [-ActionType <ClientActionType>] -Collection <IResultObject>\n [-NotificationType <ClientNotificationType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","Invoke-CMClientAction [-ActionType <ClientActionType>] -DeviceName <String>\n [-NotificationType <ClientNotificationType>] [-ParentCollection <IResultObject>]\n [-ParentCollectionId <String>] [-ParentCollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Invoke-CMClientAction [-ActionType <ClientActionType>] -DeviceId <String>\n [-NotificationType <ClientNotificationType>] [-ParentCollection <IResultObject>]\n [-ParentCollectionId <String>] [-ParentCollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Invoke-CMClientAction [-ActionType <ClientActionType>] -Device <IResultObject>\n [-NotificationType <ClientNotificationType>] [-ParentCollection <IResultObject>]\n [-ParentCollectionId <String>] [-ParentCollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Invoke-CMClientAction [-ActionType <ClientActionType>] -CollectionName <String>\n [-NotificationType <ClientNotificationType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","Invoke-CMClientAction [-ActionType <ClientActionType>] -CollectionId <String>\n [-NotificationType <ClientNotificationType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Invoke-CMClientAction","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/Invoke-CMClientAction.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/invoke-cmclientaction","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Invoke-CMClientAction","schemaType":"PowershellCmdlet","summary":"<p>將通知傳送至用戶端計算機，以觸發立即的客戶端動作。</p>\n","uid":"ConfigurationManager.Invoke-CMClientAction"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/invoke-cmclientaction?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/invoke-cmclientaction?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>\n              <strong>Invoke-CMClientAction</strong> Cmdlet 會將通知傳送至用戶端計算機，以觸發立即的客戶端動作。 您可以指定一或多部用戶端計算機，或將通知傳送至指定裝置集合中的所有計算機。</p>\n<p>如需這些動作的詳細資訊，請參閱 <a href=&quot;/mem/configmgr/core/clients/manage/client-notification&quot;>用戶端通知</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/Invoke-CMClientAction.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=\"Invoke-CMClientAction\" />\r\n<meta name=\"notes\" content=\"<p>Cmdlet 別名： <strong>Invoke-CMClientNotification</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=\"Invoke-CMClientAction [-ActionType <ClientActionType>] -Collection <IResultObject>\n [-NotificationType <ClientNotificationType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Invoke-CMClientAction [-ActionType <ClientActionType>] -DeviceName <String>\n [-NotificationType <ClientNotificationType>] [-ParentCollection <IResultObject>]\n [-ParentCollectionId <String>] [-ParentCollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Invoke-CMClientAction [-ActionType <ClientActionType>] -DeviceId <String>\n [-NotificationType <ClientNotificationType>] [-ParentCollection <IResultObject>]\n [-ParentCollectionId <String>] [-ParentCollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Invoke-CMClientAction [-ActionType <ClientActionType>] -Device <IResultObject>\n [-NotificationType <ClientNotificationType>] [-ParentCollection <IResultObject>]\n [-ParentCollectionId <String>] [-ParentCollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Invoke-CMClientAction [-ActionType <ClientActionType>] -CollectionName <String>\n [-NotificationType <ClientNotificationType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Invoke-CMClientAction [-ActionType <ClientActionType>] -CollectionId <String>\n [-NotificationType <ClientNotificationType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Invoke-CMClientAction\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}