Immy.Bot icon

Immy.Bot

Interact with ImmyBot IT automation platform

Script → Run Ad-Hoc Script

AI-generated

Summary

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.

Links

Discussion