A set of useful utility scripts written in PowerShell for Microsoft Windows Platform.
- File Maintenance
- Windows Service Control
- Internet Information Server Control
- UNC Path Mount
- Oracle Database
- arcserveUDP
- Check Flag
- N2WS Backup
Manage log and temp files with various methods including delete , copy , move , compress , archive , rename , nullclear , add time stamp to filename , delete old generation and delete empty folders. You can select files and folders with various creiteria including file size , number of days elapsed , regular expression , path regular expression.
At once manage only one folder. With Wrapper.ps1 you can manage multiple folders.
Start and stop Windows service. If you need script files StopService.ps1 and StartService.ps1 , change comment line at the parameter section.
Start and stop IIS site.
Mount and UnMount UNC path SMB file share.
After or before executing backup software, you run the scripts and start/stop Listener , change Oracle Mode (BackUp or Normal) , export control files.
Delete RMAN archive log.
Export Oracle Database with datapump.
Execute backup software arcserveUDP CLI and kick backup job.
Check a Flag File and if the flag file exist(or dose not exist) , delete the flag file(or make a flag file)
Start backup job and get backup result of N2WS backup appliance for AWS.
Execute .ps1 script with an every command line in the command file in order.
Execute .ps1 script at fixed intervals untill the script is ended with normal return code.
Read Wiki
You can read help with 'Get-Help' command.
Copyright © 2020 Masayuki Sudo
Licensed under the Apache License, Version 2.0
see LICENSE also