mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Improve the .Example section
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists the installed PowerShell modules.
|
||||
.EXAMPLE
|
||||
PS> ./list-modules
|
||||
PS> ./list-modules.ps1
|
||||
|
||||
Name Version ModuleType ExportedCommands
|
||||
---- ------- ---------- ----------------
|
||||
@ -22,4 +22,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user