GermainUX can execute commands or scripts in Windows environments through Windows Management Instrumentation (WMI). WMI Actions can automate system administration, maintenance, remediation, data processing, and other operational tasks.
⚙️ WMI Action Types
A WMI Action can be:
|
Type |
|---|
|
Executed manually |
|
Run automatically on a schedule |
|
Triggered when an SLA condition is met |
🔧 Configure a WMI Action
-
Go to GermainUX Workspace > Wizards.
-
Search for WMI Action.
-
Click Add to open the wizard.
-
Enter a unique, descriptive name for the action.
-
Click Next.
-
Select the Windows server on which the action will execute.
-
Select the credentials used to connect to the remote server.
-
Enter the working directory containing the program or script.
-
Enter the command or script to execute—for example, a PowerShell
.ps1or Windows Batch.batfile. -
Add any required arguments.
-
Configure a schedule if the action should run automatically at specified times.
-
Select an SLA if the action should run when a monitored condition is met.
-
Review the configuration and save the action.
📁 Use an Existing Script
Instead of entering a command directly, you can select an existing script from the Script dropdown.
The selected script can then be:
|
Action |
|---|
|
Run manually |
|
Executed on a schedule |
|
Triggered by an SLA |
🛡️ Security Recommendations
|
Recommendation |
|---|
|
Use a dedicated Windows account with the minimum required permissions. |
|
Store credentials in a secure GermainUX credential configuration. |
|
Never embed passwords in scripts or arguments. |
|
Validate dynamic arguments before execution. |
|
Configure timeouts and execution limits. |
|
Test the action in a non-production environment before enabling automatic execution. |
|
Enable logging and failure notifications to track execution results. |
Component: Engine
Feature Availability: 8.6.0 or later