---
title: "POST /api/v1/provider-links/{id}/agents/powershell-install-script"
method: POST
path: "/api/v1/provider-links/{id}/agents/powershell-install-script"
tags: ["ProviderLinks"]
---

# POST /api/v1/provider-links/{id}/agents/powershell-install-script

`POST /api/v1/provider-links/{id}/agents/powershell-install-script`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/provider-links/{id}/agents/powershell-install-script`
- Auth: none declared

## Path parameters

- `id` integer, required

## Request body

- GetPowerShellInstallScriptParameters
  - `platform` 'Windows' | 'Mac' | 'Linux': The string or integer value may be used. Windows = 1, Mac = 2, Linux = 3
  - `targetExternalClientId` string, nullable, required

## Response `200`

OK

- IScript
  - `scriptLanguage` 'CommandLine' | 'PowerShell': The string or integer value may be used. CommandLine = 1, PowerShell = 2
  - `script` string, nullable
  - `timeout` integer

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
