Skip to main content

Windows Command Probe

This topic describes how to use the Windows command probe to execute Windows-specific commands and PowerShell scripts as part of chaos experiments targeting Windows environments. The Windows command probe extends the standard command probe functionality to support Windows Command Prompt (cmd) and PowerShell execution contexts.

In this guide, we'll walk you through setting up a Windows command probe that checks the system hostname during a Windows CPU stress experiment, demonstrating how to validate system responsiveness under load.

Prerequisites

Steps to configure Windows command probe

  1. Navigate to Resilience Probe in the left navigation pane, select Windows as your target infrastructure type, and then select Command Probe.

    Create Command Probe

  2. Enter a name for your command probe in the Name field.

    Enter Probe Name

  3. Enter the Command, Type, Comparison criteria, and the Value. Click Configure Properties.

    Enter Command

  4. Provide other values like Timeout, Interval, Attempt, Polling Interval, and Verbosity. Click Create Probe.

    Provide More Details

  5. Your Windows command probe is now ready to be attached to chaos experiments. You can monitor probe execution results during experiment runs to validate system behavior.

    Monitor Results