Skip to main content

Module powershell

Module powershell 

Source
Expand description

PowerShell: script modules (.psm1) and scripts (.ps1), their Import-Module, using module and dot-sourced imports, risks, and the functions a module exports with their param() types mapped into the TS-like type dialect.

Functions§

after_functions
The byte offset just past the line where the last top-level function ends: where enable puts its block, after every function it redefines and before the script’s own code runs.
discover
exports
lookup
Rust counterparts of common PowerShell Gallery modules.
param_text
The parameter block a generated wrapper declares, as the original wrote it.
ps_to_ts
A PowerShell type as written inside [...] (string, int[], System.Int64), in the dialect; None for a .NET object that does not cross as JSON.
resolve
scan