Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
NameIT
2.3.3
Generators/cmdlet.ps1
function
cmdlet
{
if
(
$ApprovedVerb
)
{
$verb
=
(
Get-Verb
|
Get-Random
)
.
verb
}
else
{
$verb
=
(
verb
)
}
"{0}-{1}"
-f
$verb
,
(
noun
)
}