windows-powershell - Write and debug PowerShell scripts
Write and debug PowerShell scripts across Windows PowerShell 5.1 and PowerShell 7.x, including administration, automation, and cross-platform concerns.
Tags
Updated: 2026-12-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write PowerShell scripts
- Debug PowerShell scripts
- Manipulate pipeline objects
- Handle errors and encoding
- Manage modules and packages
- Use remoting and DSC
- Query Windows system resources
- Manage processes and services
- Operate files, registry, JSON, XML, CSV
- Support cross-platform scripts
Inputs
- PowerShell scripts
- Target system details
- Module requirements
- Diagnostic error output
Outputs
- PowerShell script code
- Diagnostic findings
- Query results
- Administrative state changes
Requirements
- PowerShell 5.1 or 7.x runtime
- Windows for Windows-specific operations
