tencent cloud

Tencent Cloud Smart Advisor

Injecting PowerShell Scripts for Windows Systems

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 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.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백