PSNamingUtilities.IsModuleOrCmdletName(String) Method
Definition
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 moduleOrCmdletName
is a valid module name or cmdlet name.
public static bool IsModuleOrCmdletName (string moduleOrCmdletName);
static member IsModuleOrCmdletName : string -> bool
Public Shared Function IsModuleOrCmdletName (moduleOrCmdletName As String) As Boolean
Parameters
- moduleOrCmdletName
- String
Returns
Remarks
This method only does pattern-matching. It does not check if the name is real.