Update save-screenshot.ps1

This commit is contained in:
Markus Fleschutz 2021-10-20 13:48:38 +02:00 committed by GitHub
parent 14e7bee631
commit a69e3c3bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,13 @@
<#
.SYNOPSIS
Takes a single screenshot and saves it into a folder
Saves a single screenshot
.DESCRIPTION
This script takes a single screenshot and saves it into a target folder (the user's pictures folder by default).
.PARAMETER Directory
Specifies the target directory (the user's pictures folder by default)
.EXAMPLE
PS> ./save-screenshot C:\Temp
PS> ./save-screenshot
screenshot saved to C:\Users\Markus\Pictures\2021-10-10T14-33-22.png
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK