mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-18 16:39:03 +02:00
Updated the manuals
This commit is contained in:
@@ -6,7 +6,7 @@ This PowerShell script takes a single screenshot and saves it into a target fold
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./save-screenshot.ps1 [[-TargetFolder] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/save-screenshot.ps1 [[-TargetFolder] <String>] [<CommonParameters>]
|
||||
|
||||
-TargetFolder <String>
|
||||
Specifies the target folder (the user's screenshots folder by default)
|
||||
@@ -26,7 +26,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./save-screenshot
|
||||
✔️ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png
|
||||
✅ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png
|
||||
|
||||
```
|
||||
|
||||
@@ -50,7 +50,7 @@ Script Content
|
||||
Specifies the target folder (the user's screenshots folder by default)
|
||||
.EXAMPLE
|
||||
PS> ./save-screenshot
|
||||
✔️ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png
|
||||
✅ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@@ -90,7 +90,7 @@ try {
|
||||
$FilePath = (Join-Path $TargetFolder $Filename)
|
||||
TakeScreenshot $FilePath
|
||||
|
||||
"✔️ screenshot saved to $FilePath"
|
||||
"✅ screenshot saved to $FilePath"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@@ -98,4 +98,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 08/15/2024 09:50:53)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 11/08/2024 12:34:54)*
|
||||
|
Reference in New Issue
Block a user