Δ
Useful Script of the Month
How to
move multiple files, from many folders, into one folder
rem converge -
copy files from many folders...to one folder
@echo off title Converge Files color 0a
set DirFrom=C:\Users\testuser\Desktop\powershell\ManyFolders\ set DirTo=C:\Users\testuser\Desktop\powershell\SingleFolder\ set
FileExt=ps1 for /R "%DirFrom%" %%f in (*.%FileExt%) do copy "%%f" "%DirTo%"
pause
Δ Thursday, January 31st,
2013
Δ
Archive and Delete Event Logs after 80MB
How to
archive and delete computer logs
[download resource files]
Demo
Have you ever needed to monitor event log size...and
then do cleanup once a storage threshold has been reached? This script
will basically monitor the event size, archive the log to a specified folder,
and then clear the event log automatically. Note, you can change the
threshold size to anything you want.
Δ
[email me]
|
Δ Friday, January 18th,
2013
Δ
Disable Flash Update
How to
stop the flash player from updating
[download resource files]
Demo
This is one way to disable the flash player from auto
updating. The settings are located in the mms.cfg which gets copied to the
Flash folder.
Δ
[email me]
|
Δ Friday, January 4th,
2013
Δ
Send e-Mail When USB Gets Plugged In
How to
send emails in your scripts
[download resource files]
If you haven't sent alerts or notifications via your
scripts, you really have to try this one out. Basically, when you plug in
a USB drive, the user gets and alert, and you receive an email. It uses an
open smtp server to send the email. Note, this has been tested under
Windows XP only. When I test it under Windows 7/8, I'll post it again.
Δ
[email me]
|
Δ Wednesday, January 2nd,
2013
Δ
Rename Script to e-Mail
How to
send your scripts in emails
[download resource files]
Demo
Have you ever tried sending a batch file, or vbscript
via email? You can't do it...that's not without renaming it first, or
zipping it. This script strips the extension to allow for easy email
attachment.
Δ
[email me]
|
|
About
I'm a Computer Systems Engineer
Living and Loving Life
Author
|