mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Improve the .Example section
This commit is contained in:
@ -4,8 +4,8 @@
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists the path to current working directory (but not the content itself).
|
||||
.EXAMPLE
|
||||
PS> ./list-workdir
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
PS> ./list-workdir.ps1
|
||||
📂C:\Users\Markus
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -19,4 +19,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user