Execute PowerShell command
Execute PowerShell command on the machine.
Documentation Index
Fetch the complete documentation index at: https://docs.cyberdesk.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
Body
PowerShell command to execute
Use persistent session
Working directory for new session
Session ID to use
Maximum time in seconds to wait for command completion before continuing. The command will continue running in the background after timeout (default: 30.0)
Response
Successful Response
The response is of type Response Powershell Exec V1 Computer Machine Id Shell Powershell Exec Post · object.