Posts Tagged 'script'

Delete Files Remotely Using PowerShell Script

Keep Reading ...

To run this with out reading a list just remove the commands at the the bottom and replace the “$_” with computer name or replace the $file variable with local path
123456789101112131415#MAIN
function delete-remotefile {
    PROCESS {
                $file = "\\$_\c$\File_to_be_deleted.txt"
              [...]

AutoIT script to check if file exist then install application

Keep Reading ...

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596;==========================================================================
;
; NAME: outlook_addon.au3
;
; AUTHOR: John Sorensen
;
; COMMENT:
; Install an outlook 2003 specific addon using AutoIT.
;This will first check to see if the addon
; already exists and if not will check if outlook 2003
;exexcutable exest then will install showing a
; install showing progress. Edit the script as needed
;to include your own file and [...]

Export List of Exchange 2007 mailbox sizes – Powershell script

Keep Reading ...

I have this script set as a sceduled task and runs daily on my companies Exchange 2007 servers. It helps to see not only the current sizes but to see if any mailboxes are getting out of control.
 
12345678910111213141516171819202122232425##############################################################
# Creates a file with all exchange 2007 mailboxes and sort by size
#
#
#
# Command, scheduled task or shortct [...]