PSNativeCmdDevKit
0.2.0
Helpers for building PowerShell wrappers around native commands.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2020 Gael Colas. All rights reserved.
Package Details
Author(s)
- GaelColas
Tags
Functions
Add-SudoPreferenceRule Get-PropertyHashFromListOutput Get-SudoPreference Get-SudoPreferenceRule Invoke-NativeCommand Remove-SudoPreferenceRule
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0] - 2026-09-20
### Added
- GitVersion yaml configuration.
- Copilot repository guidance, targeted WDAC language-mode review rules, and a
validation skill.
- Sampler WikiSource generation, packaging, and GitHub wiki deployment.
- Unit coverage for native command invocation, output parsing, sudo rule
lifecycle, and constrained-language behavior.
### Security
- Removed dynamic PowerShell source generation from `Invoke-NativeCommand`.
- Stopped recompiling sudo preference filter strings and require filters to be
script blocks or the `*` wildcard.
### Fixed
- Updated the Sampler bootstrap and pinned `Sampler` to
`0.121.0-preview0001`.
- Replaced retired Azure Pipelines images and artifact tasks with supported
hosted images and pipeline artifacts.
- Corrected sudo preference output so `Invoke-NativeCommand` receives `Sudo`
and `SudoAs`.
- Corrected replacement of the first sudo rule and removal of multiple matches.
- Prevented continuation lines for discarded properties from accessing a
missing extra-properties collection.
### Changed
- Migrated the test configuration to Pester 5-style settings with an 80 percent
coverage target and a Windows PowerShell/PowerShell 7 cross-platform matrix.
- Updated contributor and user documentation for the Sampler workflow and WDAC
trust boundary.
FileList
- PSNativeCmdDevKit.nuspec
- en-US\PSNativeCmdDevKit-help.xml
- PSNativeCmdDevKit.psd1
- en-US\PSNativeCmdDevKit.strings.psd1
- PSNativeCmdDevKit.psm1
- en-US\about_PSNativeCmdDevKit.help.txt
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 (current version) | 26 | 9/20/2026 |
| 0.2.0-previe... | 5 | 9/20/2026 |
| 0.2.0-previe... | 69 | 7/12/2020 |
| 0.1.0 | 2,252 | 7/12/2020 |