Update the manuals

This commit is contained in:
Markus Fleschutz
2021-10-06 10:58:19 +02:00
parent 2acdb5fbbf
commit 4b4a952c09
263 changed files with 266 additions and 1053 deletions

View File

@ -3,6 +3,8 @@
Converts the comment-based help of a PowerShell script to Markdown
.DESCRIPTION
convert-ps2md.ps1 [<filename>]
.PARAMETER filename
Specifies the path to the PowerShell script
.EXAMPLE
PS> ./convert-ps2md myscript.ps1
.NOTES
@ -56,11 +58,7 @@ try {
$full = Get-Help $filename -Full
"# PowerShell Script: $ScriptName"
"``````powershell"
"$($full.Synopsis)"
"``````"
"# $ScriptName - $($full.Synopsis)"
$Description = ($full.description | Out-String).Trim()
if ($Description -ne "") {