mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-15 15:22:44 +02:00
Updated the manuals
This commit is contained in:
@ -25,18 +25,18 @@ Script Content
|
||||
.EXAMPLE
|
||||
PS> ./list-tasks.ps1
|
||||
|
||||
TaskName State TaskPath
|
||||
-------- ----- --------
|
||||
.NET Framework NGEN v4.0.30319 Ready \Microsoft\Windows\.NET Framework\
|
||||
TASKNAME TASKPATH STATE
|
||||
-------- -------- -----
|
||||
.NET Framework NGEN v4.0.30319 \Microsoft\Windows\.NET Framework\ Ready
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
https://github.com/fleschutz/PowerShell0
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
Get-ScheduledTask | Format-Table -property TaskName,State,TaskPath
|
||||
Get-ScheduledTask | Format-Table -property @{e='TASKNAME';width=40},@{e='TASKPATH';width=55},@{e='STATE';width=10}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -44,4 +44,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 08/15/2024 09:50:50)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 11/08/2024 12:34:51)*
|
||||
|
Reference in New Issue
Block a user