PowerShell 7 - Scaffold Structure (Follow-up)

Some interesting hurdles crossed with this simple philosophy:

Organize custom functionality in a structured, standard format.

Main Scaffold

  • "Process" and "Begin" segments
  • Status Notifications - Output Logging
  • Exception Handling - Generically
  • Artifact Publishing

Custom Structure

  • AssertParameters (arg testing/validation)
  • MainProcess
  • $Script:Artifact.Data
  • $Script:Artifact.Files


  • Simple dot sourcing the "custom" script, does not pull in $Script:args variables. (Must explicitly pass $Script:args)
  • Almost ready for 'main' branch merge

No comments:

Post a Comment

Remote / Working from Home, Part 4

[Part 1] [Part 2] [Part 3] Distractions Home distractions are very different than office workplace distractions because they are much mo...