AiSkillz

AiSkillz is in preview: browse the catalogue now - skill downloads and subscriptions open soon.

← Back to skills
languagesDownloadAny / model-agnosticLicense: My own work (all rights reserved)

PowerShell scripting best practices

Created by CodeCraft LLC

Write, advise on, and review PowerShell scripts, functions, and modules

Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.

by Jace (@jamick)v1.1.0 · updated 2026-10-03Report copyright infringement

Description

Write, advise on, and review PowerShell scripts, functions, and modules — PowerShell 7 vs Windows PowerShell 5.1 differences, advanced functions ([CmdletBinding()], parameter validation, pipeline input), ShouldProcess/-WhatIf for destructive actions, error handling (terminating vs non-terminating, -ErrorAction Stop, try/catch), output streams, strict mode, paths and encoding, credentials/secrets, remoting, PSScriptAnalyzer, and Pester tests. Use whenever the user works with .ps1/.psm1/.psd1 files, asks for a Windows automation script, mentions PowerShell/pwsh, or needs a build/deploy/admin script on Windows — even a quick one-liner that will be saved and reused.

#languages#powershell

Included with all-access

$9.00 value as a single download

AiSkillz is in preview: browse the catalogue now - skill downloads and subscriptions open soon.

All skills are included with the all-access subscription

Changelog

v1.1.0Oct 3, 2026Latest

Changed

  • Checked against the official documentation (October 2026).
  • Added supported versions: PowerShell 7.6 LTS (to November 14, 2028); 7.4 LTS and 7.5 end of support November 10, 2026.
v1.0.1Oct 3, 2026

Changed

  • Renamed the title to describe what the skill does with the product, so it doesn't read as an official or endorsed edition.
  • Added a trademark notice to the README.
v1.0.0Oct 2, 2026

Added

  • First release.