PowerShell Exec Server AI Agent
Execute PowerShell commands securely with controlled timeouts and input validation. Retrieve system information, manage services, monitor processes, and generate scripts dynamically using templates. Benefit from built-in security features that block dangerous commands and ensure consistent JSON-formatted outputs for automation workflows.
PowerShell Exec Server handles repetitive tasks for you automatically. It can do 14 different things for you—just connect to it in one click.
Available Tools
PowerShell Exec Server can do 14 different things for you automatically. Here's what it can handle:
run_powershell
Execute PowerShell commands securely. Args: code: PowerShell code to execute timeout: Command timeout in seconds (1-300, defa...
get_system_info
Get system information. Args: properties: List of ComputerInfo properties to retrieve (optional) timeout: Command timeout in ...
get_running_services
Get information about running services. Args: name: Filter services by name (supports wildcards) status: Filter by status (Ru...
get_processes
Get information about running processes. Args: name: Filter processes by name (supports wildcards) top: Limit to top N proces...
get_event_logs
Get Windows event logs. Args: logname: Name of the event log (System, Application, Security, etc.) newest: Number of most rec...
generate_script_from_template
Generate a PowerShell script from a template. Args: template_name: Name of the template to use (without .ps1 extension) param...
generate_custom_script
Generate a custom PowerShell script based on description. Args: description: Natural language description of what the script should d...
ensure_directory
Ensure directory exists and return absolute path.
generate_intune_remediation_script
Generate a Microsoft Intune remediation script with enterprise-grade features. Creates a PowerShell remediation script that follows Microsoft...
generate_intune_script_pair
Generate a complete pair of Microsoft Intune detection and remediation scripts. This is the RECOMMENDED tool for Intune compliance as it crea...
License
MIT
Common Questions
What is an AI Agent?
An AI agent is like having a personal assistant who does specific tasks for you. Instead of a general chatbot that just talks, AI agents actually do things—they can check your calendar, send emails, look up information, and handle repetitive work so you don't have to.
What is MCP (Model Context Protocol)?
MCP is simply the way AI agents plug into your apps and services. When you connect something like PowerShell Exec Server to Lyra, it lets the AI take actions on your behalf.
How do I use PowerShell Exec Server?
Just install it inside Lyra. It only takes a moment. After that, your AI can instantly use PowerShell Exec Server—no setup, no technical knowledge required.