PSNamingUtilities.IsCmdletName(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns if the given cmdletName
is a valid cmdlet name.
public static bool IsCmdletName (string cmdletName);
static member IsCmdletName : string -> bool
Public Shared Function IsCmdletName (cmdletName As String) As Boolean
- cmdletName
- String
This method only does pattern-matching. It does not check if the name is real.