Partager via


PSNamingUtilities Class

Definition

Utility class about PowerShell naming (cmdlet name, module name).

public static class PSNamingUtilities
type PSNamingUtilities = class
Public Class PSNamingUtilities
Inheritance
PSNamingUtilities

Remarks

All the mothods are within Azure PowerShell context, for example, module name should start with "Az.".

Methods

IsCmdletName(String)

Returns if the given cmdletName is a valid cmdlet name.

IsModuleName(String)

Returns if the given moduleName is a valid module name.

IsModuleOrCmdletName(String)

Returns if the given moduleOrCmdletName is a valid module name or cmdlet name.

Applies to