This PowerShell script sets the given image file as desktop wallpaper (.JPG or .PNG supported)
ImageFile Specifies the path to the image file
Style Specifies either Fill, Fit, Stretch, Tile, Center, or Span (default)
PS> ./set-wallpaper C:\ocean.jpgAuthor: Markus Fleschutz | License: CC0
This PowerShell script sets the audio volume to the given value in percent (0..100).
percent Specifies the volume in percent (0..100)
PS> ./set-volume.ps1 50Author: Markus Fleschutz | License: CC0
This PowerShell script sends a UDP datagram message to an IP address and port.
TargetIP Specifies the target IP address
TargetPort Specifies the target port number
Message Specifies the message text to send
PS> ./send-udp 192.168.100.100 8080 "TEST"✅ Done.Author: Markus Fleschutz | License: CC0
This PowerShell script sends a TCP message to the given IP address and port.
TargetIP Specifies the target IP address
TargetPort Specifies the target port number
Message Specifies the message to send
PS> ./send-tcp 192.168.100.100 8080 "TEST"Author: Markus Fleschutz | License: CC0
This PowerShell script searches for the given text pattern in a Git repository.
textPattern Specifies the text pattern to search for
path Specifies the file path to the local Git repository
PS> ./search-repo.ps1 UFOlist-calendar.ps1: Write-Host (" " * 4 * [int](Get-Date $day -uformat %u)) -NoNewLinelist-calendar.ps1: $dayOffset = [int](Get-Date -day 1 -month ($month + $i) -year $year -uformat %u)Author: Markus Fleschutz | License: CC0
This PowerShell script searches for the given text pattern in the given files.
textPattern Specifies the text pattern to search for
filePattern Specifies the files to search
PS> ./search-files.ps1 UFO *.ps1FILE LINE---- ----/home/Markus/PowerShell/scripts/check-month.ps1 17: $MonthName = (Get-Date -UFormat %B)...Author: Markus Fleschutz | License: CC0
This PowerShell script serves as a quick Powershell replacement to the search functionality in Windows After you pass in a root folder and a search term, the script will list all files and folders matching that phrase.
path Specifies the path
term Specifies the search term
PS> ./search-filenameAuthor: Markus Fleschutz | License: CC0
This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender.
path Specifies the file path to the folder (default is working directory).
PS> ./scan-folder.ps1 C:\Windows⏳ Scanning C:\Windows with ESET Endpoint Security......Author: Markus Fleschutz | License: CC0
This PowerShell script takes a single screenshot and saves it into a target folder (default is the user's screenshots folder).
TargetFolder Specifies the target folder (the user's screenshots folder by default)
PS> ./save-screenshot✅ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.pngAuthor: Markus Fleschutz | License: CC0