Datum.InvokeCommand
0.4.0-preview0004
Datum Handler module to dynamically invoke PowerShell commands and expand strings within Datum configuration data. Enables embedding script blocks and expandable strings in YAML configuration files for DSC (Desired State Configuration) data resolution.
Minimum PowerShell version
4.0
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2019 Raimund Andree. All rights reserved.
Package Details
Author(s)
- Raimund Andree
Tags
DesiredStateConfiguration DSC DSCResource Datum
Functions
Invoke-InvokeCommandAction Test-InvokeCommandFilter
Dependencies
This module has no dependencies.
Release Notes
## [0.4.0-preview0004] - 2026-02-23
### Changed
- Migrated `tests/QA/module.tests.ps1` to Pester 5 syntax using
`BeforeDiscovery`/`BeforeAll` blocks, `-ForEach` instead of `foreach`
loops for dynamic `Describe` blocks, and updated all legacy `Should`
assertions to use the dash-parameter syntax.
- Updated build files to newest version of Sampler (PR #12).
- Added GitHub issue templates and pull request template for better
contribution guidelines.
- Added VSCode settings for the project.
- Updated GitVersion.Tool installation to specify version 5.*.
- Added `Agent.Source.Git.ShallowFetchDepth` variable to pipeline
configuration.
- Added `AliasesToExport` to module manifest for better command aliasing.
- Updated Windows VM image to 'windows-latest' in Azure Pipelines
configuration.
- Removed `PSDependOptions` from `RequiredModules.psd1` for cleaner
configuration.
- Added `SECURITY.md` for reporting security vulnerabilities and guidelines.
- Added `codecov.yml` configuration file for coverage reporting.
- Updated `build.ps1` and `Resolve-Dependency.ps1` build scripts.
- Refactored Azure Pipelines configuration for improved artifact handling
and test reporting.
- Updated pipeline configuration in `build.yaml`.
- Updated ModuleBuilder configuration.
- Updated dependent modules configuration.
- Added PSDepend configuration.
- Added ReleaseAssets configuration to GitHub settings.
- Updated DscResource.DocGenerator configuration.
- Reorganized `RequiredModules.psd1` for improved readability.
### Fixed
- Fix incorrect module manifest `Description` which referenced
Datum.ProtectedData instead of describing this module's actual purpose.
- Fix PSScriptAnalyzer `PSUseProcessBlockForPipelineCommand` warning in
`Invoke-InvokeCommandAction` and `Test-InvokeCommandFilter` by wrapping
the function body in a `process` block.
### Removed
- **Breaking:** Remove unused parameter `ProjectPath` from
`Invoke-InvokeCommandAction` to resolve PSScriptAnalyzer
`PSReviewUnusedParameter` warning.
### Added
- Add comprehensive comment-based help for all public functions
(`Invoke-InvokeCommandAction`, `Test-InvokeCommandFilter`) with detailed
descriptions, parameter documentation, multiple examples, notes, and
cross-reference links.
- Add comment-based help for all private functions
(`Invoke-InvokeCommandActionInternal`, `Get-DatumCurrentNode`,
`Get-RelativeNodeFileName`, `Get-ValueKind`).
- Add inline documentation comments to module initialization code
in `Prefix.ps1`.
- Add comprehensive `README.md` with overview, installation instructions,
quick start guide, full embedded command syntax reference, available
variables, dynamic resolution precedence, nested references,
configuration, error handling, exported functions, and a complete
end-to-end example.
- Add `docs/GettingStarted.md` step-by-step tutorial for new users.
- Add `source/WikiSource/Home.md` wiki home page with module overview,
exported functions, installation instructions, quick start guide,
documentation links, and change log reference.
- Add `docs/Architecture.md` describing the internal processing pipeline,
module components, error handling strategy, and Datum framework
relationship.
- Add `docs/Troubleshooting.md` covering common issues, diagnostic steps,
and resolution guidance.
FileList
- Datum.InvokeCommand.nuspec
- Datum.InvokeCommand.psd1
- Modules\DscResource.Common\0.24.5\DscResource.Common.psd1
- Modules\DscResource.Common\0.24.5\DscResource.Common.psm1
- Datum.InvokeCommand.psm1
- Modules\DscResource.Common\0.24.5\en-US\DscResource.Common-help.xml
- en-US\Datum.InvokeCommand.strings.psd1
- Modules\DscResource.Common\0.24.5\en-US\about_DscResource.Common.help.txt
- en-US\Datum.InvokeCommand-help.xml
- Modules\DscResource.Common\0.24.5\en-US\DscResource.Common.strings.psd1
- Config\Datum.InvokeCommand.Config.psd1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.4.1 | 500 | 2/25/2026 |
| 0.4.1-previe... | 5 | 2/25/2026 |
| 0.4.0 | 58 | 2/23/2026 |
| 0.4.0-previe... | 2 | 2/25/2026 |
| 0.4.0-previe... | 2 | 2/25/2026 |
| 0.4.0-previe... (current version) | 3 | 2/23/2026 |
| 0.4.0-previe... | 2 | 2/23/2026 |
| 0.4.0-previe... | 2 | 2/23/2026 |
| 0.4.0-previe... | 2 | 2/23/2026 |
| 0.3.0 | 15,167 | 3/20/2023 |
| 0.3.0-previe... | 13 | 3/20/2023 |
| 0.3.0-previe... | 9 | 3/19/2023 |
| 0.3.0-previe... | 9 | 3/19/2023 |
| 0.3.0-previe... | 9 | 3/16/2023 |
| 0.3.0-previe... | 3,962 | 4/16/2022 |
| 0.3.0-previe... | 211 | 3/31/2022 |
| 0.3.0-previe... | 204 | 3/10/2022 |
| 0.3.0-previe... | 201 | 2/18/2022 |
| 0.3.0-previe... | 226 | 1/17/2022 |
| 0.3.0-previe... | 21 | 1/17/2022 |
| 0.2.0-previe... | 115 | 9/8/2021 |
| 0.1.3-previe... | 19 | 9/8/2021 |
| 0.1.3-previe... | 29 | 3/9/2021 |
| 0.1.3-previe... | 21 | 3/9/2021 |
| 0.1.3-previe... | 22 | 3/3/2021 |
| 0.1.3-previe... | 54 | 12/24/2020 |
| 0.1.3-previe... | 22 | 12/24/2020 |
| 0.1.2 | 1,259 | 12/16/2020 |
| 0.1.2-previe... | 24 | 12/16/2020 |
| 0.1.2-previe... | 24 | 12/16/2020 |
| 0.1.1 | 185 | 8/25/2020 |
| 0.1.1-previe... | 21 | 8/25/2020 |