Skip to main content

Module powershell

Module powershell 

Source
Expand description

The PowerShell rendering of a Windows recipe (design §2.1–§2.2): the library (configure.ps1, one function per step kind) and one call per step. A Windows VM’s set-up runs the calls after the library. Every argument is a single-quoted literal.

Constants§

LIBRARY
The library, as Isoloom ships it.
LIBRARY_PATH
Where the library is generated, from the project folder.

Functions§

call
Step r’s call(s), one per line; None for a step the library doesn’t run (a script, a reboot, a playbook) or one Windows can’t carry (a repository: lowering refuses it).
library_file
The library as a generated file, at LIBRARY_PATH.
script
A Windows VM’s set-up step for resources (see super::shell::script): the library, then each step’s call, from the project folder, stopping at the first error.