Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marckassay opened this issue Jun 15, 2017 · 0 comments
Labels

Comments

@marckassay
Copy link
Owner

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,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant