8000 GitHub - willgreenzilla/PowerShellScripts: A collection of PowerShell scripts that I put together to accomplish various work related tasks. Nothing fancy.
[go: up one dir, main page]

Skip to content

A collection of PowerShell scripts that I put together to accomplish various work related tasks. Nothing fancy.

Notifications You must be signed in to change notification settings

willgreenzilla/PowerShellScripts

Repository files navigation

PowerShellScripts

A collection of PowerShell scripts that I put together to accomplish various work related tasks. Nothing fancy.

KofaxUp2DownV2.ps1

Simple script to convert a KOFAX upload file into a DOWNLOAD file as what would be received from the mainframe. This is to allow testing of KOFAX imports without the mainframe in dev and test environments.

ESUBNameFixer.ps1

Script to add pdf or tif extension to images missing the appropriate extension or containing a file name that exceeds the max allowed length that are located in a batch directory received from the document transporter but failed being ingested into KOFAX via the XML importer. The script strips the error and processing info from the XML file and updates the file location names and paths to match the newly renamed image files and writes to a log file the changes made and for what batch. This is a very specific script for KOFAX and our custom environment.

ESUBNameFixerV2.ps1

Same as ESUBNameFixerV1.ps1 but adds detection of MM TIF images and also TIF conversion to PDF of entire batch if desired utilizing ImageMagick. Implemented this to fix a number of bad TIF images that were coming in that were incorrectly manually converted which crashed KOFAX XML importer and caused the entire image batch to ERROR out.

PridemodShuffleBXFR.ps1

Simple script to copy folders, folder contents, and files from one folder on one server to another folder on another domain of which there is no trust between domains, just a domain account with permission to work on both servers. Files are copied over a set last access age to prevent accidental copies of files not yet completely copied into the initial directory. Config file sets the server details and username info, etc. Password is encrypted and read in when the script is executed. Built for a specific workaround to move a large quantity of records between servers from LiveCycle to be fed into KOFAX. This version uses Bitstransfer which had issues running as a service account within a scheduled task. Also had issues with fips security and pwoershell encryption. Replaced by FileShuffle.ps1 and was re-named to this.

FileShuffle.ps1

Simple script to copy folders, folder contents, and files from one folder on one server to another folder on another domain of which there is no trust between domains, just a domain account with permission to work on both servers. Files are copied over a set last write time to prevent accidental copies of files not yet completely copied into the initial directory. Config file sets the server details and username info, etc. Password is encoded and read in when the script is executed. To be ran from task scheduler. Built for a specific workaround to move a large quantity of records between servers from LiveCycle to be fed into KOFAX. This version uses robocopy and does work when kicked off via a scheduled task and runs under a service account.

ErrorLogScanner.ps1

Simple script to spin thru a list of log directories (defined in the scan_script_error_list.config) and build a report based on errors/messages/etc matching a list of newline separated strings (also defined in the scan_script_error_list.config). Can scan any number of directories (on any server you have direct access to) for any number of errors/strings. Set the $servercount variable to the number of servers/directories to be hit to equal the number of servers listed in the config.

About

A collection of PowerShell scripts that I put together to accomplish various work related tasks. Nothing fancy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0