mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 22:38:46 +02:00
Improve the .Example section
This commit is contained in:
@ -2,9 +2,14 @@
|
||||
.SYNOPSIS
|
||||
Lists window titles
|
||||
.DESCRIPTION
|
||||
This PowerShell script list all main window titles and displays them in a table.
|
||||
This PowerShell script queries all main window titles and lists them as a table.
|
||||
.EXAMPLE
|
||||
PS> ./list-window-titles
|
||||
PS> ./list-window-titles.ps1
|
||||
|
||||
Id Name MainWindowTitle
|
||||
-- ---- ---------------
|
||||
11556 Spotify Spotify Free
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -17,4 +22,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user