This repository have scripts used in some batch tasks over Windows OS with Power Shell.
- PowerShell v3
This section contains the description and the use for each respective script.
Google libraries. You can get it from: https://developers.google.com/speed/webp/download. Don't forget to set the enviromental variables.
This script is used for convert all webp files in a folder and its subfolders to png format.
- folder
PS .\webToPng [folder]
Google libraries. You can get it from: https://developers.google.com/speed/webp/download. Don't forget to set the enviromental variables.
This script is used for convert all png files in a folder and its subfolders to webp format.
- folder
PS .\pngToWebp [folder]
None.
This script is used for remove all files in the specified folder and its subfolders given a file extension.
- folder
- file extension
PS .\removeItemsByExtension [folder] [file extension]
Plain Text File with ip list separated by new line character.
This script is used for ping to ip list from text file.
- file
PS .\pingToIPList [file]
Plain Text File with ip list separated by new line character.
This script is used for test telnet form a ip list to a specific port user as parameters.
- file
- port
- timeout (optional)
PS .\telnetTest [file] [port] [timeout]