---
sourceDocument: Australia IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/it-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Creating a PowerShell remedial action

# Creating and executing a PowerShell script-based remedial action {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
A custom remedial action can be created using a PowerShell script packaged in an Agent Client Collector (ACC) plugin and executed on endpoint devices through a check definition.

The ACC plugin contains the PowerShell script that defines the remedial action using commands and a Ruby script that calls the PowerShell script from the ServiceNow instance. When the signed ACC plugin is uploaded to a ServiceNow
instance, the ACC agent downloads the plugin and executes the remedial action through a check definition you create.  
Creating and executing a PowerShell script-based custom remedial action includes the following tasks.

1. Creating an ACC plugin package that includes the PowerShell script, Ruby script, and allowlist. For more information, see [Create an ACC plugin package](https://servicenow-prod.fluidtopics.net/m6dKIS2GdM7z_Htnl44~8g "Package a PowerShell script, a Ruby script, and an execution allowlist into an Agent Client Collector (ACC) plugin to run remedial actions on endpoints from the platform.").
2. Generating a self-signed certificate, signing the plugin package, and verifying the signature to enable the remedial action to be executed securely on endpoint devices. For more information, see [Sign and verify an ACC plugin](https://servicenow-prod.fluidtopics.net/_3wloDu4i~P7sJM2e9~~ug "Create a self-signed certificate for an Agent Client Collector (ACC) plugin and verify the signature to enable validation of the signed plugin on endpoint devices.").
3. Uploading the signed plugin package to the ServiceNow instance. For more information, see [Create and edit Agent Client Collector plugins](https://www.servicenow.com/docs/access?context=create-edit-assets&version=australia&pubname=australia-it-operations-management&ft:locale=en-US).
4. Creating a check definition and linking it to the ACC plugin to enable the ACC agent to download it and execute the remedial action on the endpoint device. For more information, see [Create a check definition for a custom remedial action](https://servicenow-prod.fluidtopics.net/YtJTAHJ8QliR_5kRDbRJHA "Create a check definition and link it to the Agent Client Collector (ACC) plugin to enable the ACC agent to run a custom remedial action.").
5. Testing the check definition to verify if the ACC plugin is linked and the remedial action runs successfully. For more information, see [Test a check definition](https://servicenow-prod.fluidtopics.net/q3fr08gBel~u0PHHDh9v~A "Test a check definition on an endpoint device to verify that the Agent Client Collector (ACC) plugin is linked and the custom remedial action defined in the script runs successfully.").
{#remedial-actions-ps__ol_z3k_ckp_43c}
* **[Create an ACC plugin package](https://servicenow-prod.fluidtopics.net/m6dKIS2GdM7z_Htnl44~8g)**   
  Package a PowerShell script, a Ruby script, and an execution allowlist into an Agent Client Collector (ACC) plugin to run remedial actions on endpoints from the platform.
* **[Sign and verify an ACC plugin](https://servicenow-prod.fluidtopics.net/_3wloDu4i~P7sJM2e9~~ug)**   
  Create a self-signed certificate for an Agent Client Collector (ACC) plugin and verify the signature to enable validation of the signed plugin on endpoint devices.
* **[Create a check definition for a custom remedial action](https://servicenow-prod.fluidtopics.net/YtJTAHJ8QliR_5kRDbRJHA)**   
  Create a check definition and link it to the Agent Client Collector (ACC) plugin to enable the ACC agent to run a custom remedial action.
* **[Test a check definition](https://servicenow-prod.fluidtopics.net/q3fr08gBel~u0PHHDh9v~A)**   
  Test a check definition on an endpoint device to verify that the Agent Client Collector (ACC) plugin is linked and the custom remedial action defined in the script runs successfully.

