mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 17:38:19 +02:00
Merge branch 'main' of github.com:fleschutz/PowerShell
This commit is contained in:
commit
4f247ce328
@ -7,7 +7,11 @@
|
|||||||
Specifies the path to the parent folder
|
Specifies the path to the parent folder
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./fetch-repos.ps1 C:\MyRepos
|
PS> ./fetch-repos.ps1 C:\MyRepos
|
||||||
|
<<<<<<< HEAD
|
||||||
⏳ (1) Searching for Git executable... git version 2.46.0.windows.1
|
⏳ (1) Searching for Git executable... git version 2.46.0.windows.1
|
||||||
|
=======
|
||||||
|
⏳ (1) Searching for Git executable... git version 2.43.0
|
||||||
|
>>>>>>> 36da57b4c5fca86904d9c631e9ec0a610338de60
|
||||||
⏳ (2) Checking parent folder... 33 subfolders
|
⏳ (2) Checking parent folder... 33 subfolders
|
||||||
⏳ (3/35) Fetching into 📂curl...
|
⏳ (3/35) Fetching into 📂curl...
|
||||||
...
|
...
|
||||||
|
@ -6,18 +6,18 @@
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./list-tasks.ps1
|
PS> ./list-tasks.ps1
|
||||||
|
|
||||||
TaskName State TaskPath
|
TASKNAME TASKPATH STATE
|
||||||
-------- ----- --------
|
-------- -------- -----
|
||||||
.NET Framework NGEN v4.0.30319 Ready \Microsoft\Windows\.NET Framework\
|
.NET Framework NGEN v4.0.30319 \Microsoft\Windows\.NET Framework\ Ready
|
||||||
...
|
...
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell0
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
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
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user