mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Updated convert-ps2md.ps1 and export-to-manuals.ps1
This commit is contained in:
@ -52,12 +52,12 @@ function GetRemark { param($Example)
|
||||
|
||||
try {
|
||||
if ($filename -eq "") { $filename = Read-Host "Enter path to PowerShell script" }
|
||||
$ScriptName = (Get-Item "$filename").Name
|
||||
|
||||
$ScriptName = (Get-Item "$filename").Name
|
||||
$full = Get-Help $filename -Full
|
||||
|
||||
"*$($ScriptName)*"
|
||||
"================"
|
||||
"Script: *$($ScriptName)*"
|
||||
"========================"
|
||||
|
||||
$Description = ($full.description | Out-String).Trim()
|
||||
if ($Description -ne "") {
|
||||
|
Reference in New Issue
Block a user