Update the manuals

This commit is contained in:
Markus Fleschutz
2021-10-06 11:52:39 +02:00
parent 98c305e8f3
commit 38aeb4c3c7
263 changed files with 2 additions and 265 deletions

View File

@ -69,17 +69,16 @@ try {
""
"## Parameters"
"``````powershell"
$Syntax = (($full.syntax | Out-String) -replace "`r`n", "`r`n`r`n").Trim()
$Syntax = (($full.syntax | Out-String) -replace "`r`n", "`r`n").Trim()
$Syntax = (($Syntax | Out-String) -replace "/home/markus/Repos/PowerShell/Scripts/", "")
if ($Syntax -ne "") {
"$Syntax"
}
foreach($parameter in $full.parameters.parameter) {
""
"$(((($parameter | Out-String).Trim() -split "`r`n")[-5..-1] | % { $_.Trim() }) -join "`r`n")"
""
}
""
"[<CommonParameters>]"
" This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, "
" WarningVariable, OutBuffer, PipelineVariable, and OutVariable."