tencent cloud

Feedback

Injecting PowerShell Scripts for Windows Systems

Last updated: 2024-09-26 15:49:18

    Background

    CFG supports multi-environment and multi-system instances. In addition to Linux systems using shell scripts, PowerShell scripts can also be used to inject commands for Windows systems.

    Directions

    Step 1: Create an experiment

    1. Log in to the Tencent Smart Advisor > Chaotic Fault Generator, enter the Experiment Management page, click Create a New Experiment, and fill in the experiment details.
    2. Select Compute as the resource type, select CVM as the resource object, and add the instance.

    Step 2: Select the action

    Click Add Now to add fault action. Select Shell Script from the experiment action category, select Custom Action as the platform action, and then click Next.

    Step 3: Fill in custom action parameters

    Select powerShell as the command type, and input the custom command text.

    Step 4: Execute the action

    Execute the experiment and observe the execution results.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support