Sampler.CustomTasks

0.2.0-preview0001

Custom tasks for Sampler Module

Minimum PowerShell version

5.0

This is a prerelease version of Sampler.CustomTasks.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Sampler.CustomTasks -RequiredVersion 0.2.0-preview0001 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Sampler.CustomTasks -Version 0.2.0-preview0001 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Thomas Subotitsch, Fabian Steiner. All rights reserved.

Package Details

Author(s)

  • Thomas Subotitsch Fabian Steiner

Functions

Copy-WikiContent New-WikiSidebarFromPs1 Update-ChangelogDirect

Dependencies

This module has no dependencies.

Release Notes

## [0.2.0-preview0001] - 2026-04-16

### Changed

#### `source/Public/Update-ChangelogDirect.ps1`

- Replaced `Write-Build` with `Write-Host` for all status output, removing dependency on Invoke-Build logging helpers.
- Made the function self-contained and usable outside of an Invoke-Build execution context.

#### `build.ps1`

- Added `importLocalProjectModuleTaskFiles` helper to load local task and function definitions when working with a project module.

 - Loads functions from `source/Public` and `source/Private`, and tasks from `source/tasks`.
 - Enables execution without requiring the module to be installed or imported.
 - Provides detailed console output during loading for improved transparency.
- Updated module import workflow:

 - Now prefers local source task definitions when available, improving local development experience.
 - Refactored fallback logic to reuse the helper, removing duplicated code.
 - Improved resilience by falling back to local sources if module import fails.


FileList

Version History

Version Downloads Last updated
0.2.0 2 4/16/2026
0.2.0-previe... (current version) 2 4/16/2026