Rename to save-screenshot.ps1

This commit is contained in:
Markus Fleschutz
2021-10-20 12:28:14 +02:00
parent 7b8922af8d
commit 83ce93a7ae
8 changed files with 12 additions and 103 deletions

View File

@ -24,7 +24,7 @@ check-ping.ps1 [[-hosts] <String>] [<CommonParameters>]
## Example
```powershell
PS> ./check-ping
36 ms ping average (13 ms min, 109 ms max, 10 hosts)
Ping is 36 ms average (13 ms min, 109 ms max, using 10 hosts)
```

View File

@ -41,7 +41,7 @@ export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Targe
## Example
```powershell
PS> ./export-to-serenade.ps1 Computer
Exporting 264 scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
Exporting 264 scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
exported 264 PowerShell scripts to Serenade in 22 sec
```

View File

@ -1,17 +1,17 @@
## take-screenshot.ps1 - Takes a single screenshot and saves it into a folder
## save-screenshot.ps1 - Takes a single screenshot and saves it into a folder
This script takes a single screenshot and saves it into a folder.
This script takes a single screenshot and saves it into a target folder (the user's pictures folder by default).
## Parameters
```powershell
take-screenshot.ps1 [[-Directory] <String>] [<CommonParameters>]
save-screenshot.ps1 [[-Directory] <String>] [<CommonParameters>]
-Directory <String>
Specifies the target directory
Specifies the target directory (the user's pictures folder by default)
Required? false
Position? 1
Default value "$PWD"
Default value "$HOME/Pictures"
Accept pipeline input? false
Accept wildcard characters? false
@ -22,7 +22,7 @@ take-screenshot.ps1 [[-Directory] <String>] [<CommonParameters>]
## Example
```powershell
PS> ./take-screenshot C:\Temp
PS> ./save-screenshot C:\Temp
```
@ -32,4 +32,4 @@ Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of take-screenshot.ps1*
*Generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1*

View File

@ -1,44 +0,0 @@
## take-screenshots.ps1 - Takes screenshots and saves them into a folder
This script takes screenshots and saves them into a folder.
## Parameters
```powershell
take-screenshots.ps1 [[-TargetDir] <String>] [[-Interval] <Int32>] [<CommonParameters>]
-TargetDir <String>
Specifies the path to the target folder
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
-Interval <Int32>
Specifies the time interval in seconds (60 seconds per default)
Required? false
Position? 2
Default value 60
Accept pipeline input? false
Accept wildcard characters? false
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./take-screenshots C:\Temp 60
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of take-screenshots.ps1*