Improve the .Example section

This commit is contained in:
Markus Fleschutz
2023-08-06 21:35:36 +02:00
parent 18e4f20852
commit fa9d43b715
244 changed files with 457 additions and 433 deletions

View File

@ -4,7 +4,7 @@
.DESCRIPTION
This PowerShell script queries the operating system status and prints it.
.EXAMPLE
PS> ./check-os
PS> ./check-os.ps1
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
.LINK
https://github.com/fleschutz/PowerShell
@ -36,4 +36,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}