Windows IT Automation Scripts
A collection of handy scripts to automate various IT tasks on Windows systems. These scripts are designed to work seamlessly across different Windows versions. Scripts Included LazyITChecker
Description: The LazyITChecker script provides a simple menu-based interface for common IT tasks such as checking network connectivity, displaying system information, and pinging a server.
Usage:
Run the script, follow the prompts, and choose an option to perform the desired IT task.
BackupSQL
Description: The BackupSQL script automates the backup process for a MySQL database, allowing users to easily create backups and save them to a specified location.
Usage:
Configure the script with appropriate MySQL credentials and backup location, then run the script to initiate the backup process.
DefragSystem
Description: The DefragSystem script initiates the defragmentation of the system drive (usually C:) to optimize disk performance.
Usage:
Run the script to start the defragmentation process for the system drive.
FirewallConfigBackup
Description: The FirewallConfigBackup script displays firewall configurations for all profiles and creates a backup of the firewall settings.
Usage:
Run the script to display firewall configurations and create a backup of the firewall settings.
ChangeDNS
Description: The ChangeDNS script allows users to easily switch DNS servers on their Windows system by modifying DNS settings.
Usage:
Run the script and follow the prompts to set the DNS server to either Google DNS or Cloudflare DNS.
DiskCleanup
Description: The DiskCleanup script automates the cleanup of temporary files on a Windows system, helping to free up disk space.
Usage:
Run the script to clean up temporary files from various directories, including %TEMP%, C:\Windows\Temp, and %TMP%.
HideFile
Description: The HideFile script hides a specified file on the system by setting its hidden attribute.
Usage:
Run the script and input the file path to hide the desired file.
CleanTMP
Description: The CleanTMP script cleans up temporary files from various directories, including %TEMP%, C:\Windows\Temp, and %TMP%.
Usage:
Run the script to clean up temporary files from the specified directories.
DisplayIPandMAC
Description: The DisplayIPandMAC script retrieves and displays the IP and MAC addresses of the system.
Usage:
Run the script to display the system's IP and MAC addresses.
SecurityScan
Description: The SecurityScan script initiates a full security scan on a Windows system by utilizing Windows Security settings.
Usage:
Run the script to start a full security scan on the system.
Compress Drive
Decription: the compressdrive script compress traget all the drives and compress it to free up spece for u
Usage:
Run the script to start compressing your drives and free up spece.
Compatibility
These scripts are designed to work flawlessly on all versions of Windows.
Feel free to contribute, report issues, or suggest improvements!# LazyIT windows script for evere IT
Eng:Ahmed Amin (scar7things@gmail.com)