File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
PSModuleDevelopment/functions/utility Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 114
114
}
115
115
116
116
foreach ($parmSet in (Get-Command $commandName ).ParameterSets) {
117
- $null = $ sb = New-Object System.Text.StringBuilder
117
+ $sb = New-Object System.Text.StringBuilder
118
118
$null = $sb.AppendLine (" ParameterSet Name: <c='em'>$ ( $parmSet.Name ) </c> - Validated List" )
119
119
$null = $sb.Append (" <c='$colorCommandName '>$commandName </c>" )
120
120
163
163
" ShowParameters" {
164
164
foreach ($parmSet in (Get-Command $commandName ).ParameterSets) {
165
165
# (Get-Command $commandName).ParameterSets | ForEach-Object {
166
- $null = $ sb = New-Object System.Text.StringBuilder
166
+ $sb = New-Object System.Text.StringBuilder
167
167
$null = $sb.AppendLine (" ParameterSet Name: <c='em'>$ ( $parmSet.Name ) </c> - Parameter List" )
168
168
$null = $sb.Append (" <c='$colorCommandName '>$commandName </c>" )
169
169
You can’t perform that action at this time.
0 commit comments