winrm_test
Verifies a WinRM connection by running a harmless PowerShell marker command and reports whether the account has local administrator rights.
Instructions
Test a WinRM connection with a harmless PowerShell marker command; reports whether the account is a local administrator.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "winrm_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| connection | No | ||
| saved_host | No | ||
| inventory_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||