I'm asked to extract commands using Get-Command, where the verb is one of get, set or convertTo and the noun starts with any of C, X or V.
This is what I have so far:
Get-Command | ?{$_ -like "set[-][CXV]*"} #Prints all commands that start with Set
I am struggling to search for multiple verbs that are either set, get, or ConvertTo. I have attempted several different methods but to no avail.