tencent cloud

Tencent Cloud Smart Advisor

Injecting PowerShell Scripts for Windows Systems

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2025-03-24 15:23:01

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 Cloud 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.


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan