Add open-task-manager.ps1

This commit is contained in:
Markus Fleschutz
2021-10-21 16:04:22 +02:00
parent 1f481c65b7
commit 6c5e2efc35
6 changed files with 56 additions and 28 deletions

View File

@ -1,34 +1,13 @@
## list-tasks.ps1 - Lists all Windows scheduler tasks
## list-tasks.ps1 - list-tasks.ps1
This script lists all Windows scheduler tasks.
## Parameters
```powershell
list-tasks.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./list-tasks
TaskPath TaskName State
-------- -------- -----
\Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319 Ready
\Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319 64 Ready
...
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1*

26
Docs/open-task-manager.md Normal file
View File

@ -0,0 +1,26 @@
## open-task-manager.ps1 - Starts the Task Manager
This script starts the Task Manager application.
## Parameters
```powershell
open-task-manager.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-task-manager
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of open-task-manager.ps1*

View File

@ -1,13 +1,13 @@
## save-screenshot.ps1 - Takes a single screenshot and saves it into a folder
## save-screenshot.ps1 - Saves a single screenshot
This script takes a single screenshot and saves it into a target folder (the user's pictures folder by default).
## Parameters
```powershell
save-screenshot.ps1 [[-Directory] <String>] [<CommonParameters>]
save-screenshot.ps1 [[-TargetFolder] <String>] [<CommonParameters>]
-Directory <String>
Specifies the target directory (the user's pictures folder by default)
-TargetFolder <String>
Specifies the target folder (the user's pictures folder by default)
Required? false
Position? 1
@ -22,7 +22,8 @@ save-screenshot.ps1 [[-Directory] <String>] [<CommonParameters>]
## Example
```powershell
PS> ./save-screenshot C:\Temp
PS> ./save-screenshot
screenshot saved to C:\Users\Markus\Pictures\2021-10-10T14-33-22.png
```