Closed
Description
I like the idea of impact levels for cmdlets.
What I dont like is that almost all stock cmdlets have "medium" as value for ConfirmImpact.
Get-Command -CommandType Cmdlet |
ForEach-Object {
$type = $_.ImplementingType
if ($type -ne $null)
{
$type.GetCustomAttributes($true) |
Where-Object { $_.VerbName -ne $null } |
Select-Object @{Name='Name';
Expression={'{0}-{1}' -f $_.VerbName, $_.NounName}}, ConfirmImpact
}
} |
Sort-Object ConfirmImpact -Descending
Remove-Item should behave differently from Get-Date.