Your Cart
Loading

Safe PowerShell Script Template | Report-First, Undo Journal

On Sale
NOK80.00
NOKĀ 80.00
Added to cart

Writing your own PowerShell to tidy folders or rename files? Start from a template where the dangerous mistakes are already handled: nothing changes until you add -Apply, clashes never overwrite, and every run can be undone from its journal.

What's included

  • SafeScript.psm1: Initialize-SafeRun, Invoke-SafeMove, Invoke-SafeCopy, Get-UniquePath, Undo-SafeRun, logging
  • Safe-Script-Template.ps1 with comment-based help
  • Examples: Organize-ByExtension.ps1, Archive-OldFiles.ps1
  • tests/Run-Tests.ps1 (21 checks, no extra modules)
  • 6-page PDF guide with a 25-point script review checklist

Who it's for

  • Windows admins and IT support
  • Developers automating file tasks
  • Anyone who fears destructive scripts

Good to know

  • Self-test passes on PowerShell 7.4 on Linux. Windows PowerShell 5.1, Windows and macOS were not tested - run the self-test first.
  • Never deletes user files. Back up before running any script on important data.
  • Free PowerShell 7 download from Microsoft if you don't have it.

Format

Instant digital download: one ZIP file with PDF, PS1, PSM1 files. You also get the download link by email.

Personal-use licence. Instant download after checkout.

You will get a ZIP (92KB) file