ValidateUnion

0.3.1

A union type argument validation attribute written and for use in pwsh v7.5 .ps1 code. Supplies two different attribute classes for whether validating scalar or array item values. Currently only supporting one to eight types in the union set.

Installation Options

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

Install-Module -Name ValidateUnion -RequiredVersion 0.3.1

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

Install-PSResource -Name ValidateUnion -Version 0.3.1

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) Viktor Bergquist

Package Details

Author(s)

  • vike

Tags

union type validation validate arguments attribute

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
0.3.2 8 7/21/2026
0.3.1 (current version) 8 7/18/2026
0.2.1 3 7/18/2026
0.2.0 20 6/9/2026
0.1.3 12 6/8/2026
0.1.2 10 6/7/2026
0.1.1 7 6/6/2026
0.1.0 18 6/5/2026
Show more