Skip to content

Implement 'ErrorMessage' attribute property when this PowerShell feature is released #25

@marckassay

Description

@marckassay

When the following PowerShell build has been released (for some time?):
fa901b646f9b194498c5d94456c2bdd7dab05680

Have this feature added to New-PSTrueCryptContainer's 'MountLetter' attribute:

[Parameter(Mandatory = $True, Position = 3)]
[ValidatePattern("^[a-zA-Z]$", ErrorMessage="New-PSTrueCryptContainer : Cannot validate argument on parameter 'MountLetter'. The argument '{0}' does not match.  Try again using exactly one character from the 'A-Z' set.")]
[string]$MountLetter,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions