Best Powershell verb to indicate validation?
I often have a method that checks for a specific value. In powershell, the convention is to use the verb in the list "get-verb", but I'm puzzled as to which would be better for this use.
Alternatively, if my design architecture needs to change to avoid method validation in a different way, I'd welcome suggestions along that line too.
Verbs that are roughly related to each other: provide, compare, edit, convert, initialize, update, assert, confirm, measure, resolve, check, write, provide, use.
+3
source to share
1 answer
The corresponding verb to check for meaning Test
. Quoting from List of Approved Verbs (Diagnostic Verbs section):
Verb (alias) Action Comments ... ... ... Test (t) Verifies the operation or For this action, do not use verbs consistency of a resource. such as Diagnose, Analyze, Salvage, or Verify.
+6
source to share