agentsclimarketplace

Powershell

Skill G1Joshi/Agent-Skills/skills/languages/powershell

PowerShell scripting for Windows automation, cmdlets, and administration. Use for .ps1 files.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill powershell

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, 299 tokens by cl100k_base, as published. Nobody here has run it

PowerShell

A task-based command-line shell and scripting language built on .NET.

When to Use

  • Windows system administration
  • Azure management
  • Object-oriented scripting
  • Cross-platform automation (PowerShell Core)

Quick Start

$name = "World"
Write-Host "Hello, $name!"

$processes = Get-Process | Where-Object { $_.CPU -gt 10 }
foreach ($p in $processes) {
    Write-Output $p.Name
}

Core Concepts

Cmdlets

Lightweight commands used in the PowerShell environment (Verb-Noun structure).

  • Get-Process
  • New-Item
  • Set-Location

Objects

PowerShell pipes Objects, not text.

Get-Service | Select-Object -Property Name, Status

Pipeline

Passes objects from one cmdlet to the next.

Best Practices

Do:

  • Use the Verb-Noun naming convention for functions
  • Use Try/Catch for error handling
  • Use [CmdletBinding()] for advanced functions
  • Output objects, not text (Write-Output over Write-Host)

Don't:

  • Parse text output like in Bash (use object properties)
  • Use aliases in scripts (readability)

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.