Actions69
- Change Request Actions
- Computer Actions
- Add Tags
- Bulk Delete
- Change Tenant
- Get
- Get Agent Status
- Get Detected Software
- Get Events
- Get Inventory
- Get Inventory Script Results
- Get Many
- Get Onboarding
- Get Status
- Get User Affinities
- Reinventory
- Remove Tags
- Restore
- Search Inventory Software
- Set to Needs Onboarding
- Skip Onboarding
- Update
- Update Additional Persons
- Update Primary Person
- Maintenance Action Actions
- Maintenance Session Actions
- Person Actions
- Script Actions
- Software Actions
- Sync Actions
- Tag Actions
- Tenant Actions
- User Actions
- User Role Assignment Actions
Script → Run Ad-Hoc Script
AI-generatedSummary
Run a PowerShell script on a selected computer or in a tenant context in Immy.Bot.
Inputs
- Script Body (required) — PowerShell code to execute.
- Target Type (required) — Choose Computer to run on a specific computer, or Tenant to run in tenant context as a metascript.
- Computer (required) — When Target Type is Computer, select a computer from the list or enter its numeric ID.
- Tenant (required) — When Target Type is Tenant, select a tenant from the list or enter its numeric ID.
- Options — Optional script name, execution timeout (default 300 seconds), agent connection wait timeout (default 120 seconds), and whether to invalidate the function script cache before execution.
Output shape
A single response from the Immy.Bot ad-hoc script execution endpoint.
The source pack shows the request construction but not the endpoint response schema, so the exact response fields are unspecified.
