Skip to content

Instantly share code, notes, and snippets.

View rickupton's full-sized avatar
💭
Working on Salesforce Trailhead modules

Rick Upton rickupton

💭
Working on Salesforce Trailhead modules
View GitHub Profile
@rickupton
rickupton / Rick Startup.ps1
Created November 1, 2015 21:10
Compact and backup all Microsoft Outlook PST data files using a PowerShell script
# Rick Startup.ps1
# Rick Upton, November 1, 2015
# http://www.rickupton.com | http://gb.rickupton.com
#
# This script:
# 1) Compacts Microsoft Outlook personal storage table (PST) data files.
# 2) Backs up PST data files into a date and time stamped folder.
# 3) Launches multiple applications.
#
# To set this script up to launch every time you log into Windows:
@rickupton
rickupton / Compact all PST files.au3
Last active July 12, 2022 09:22
Automatically compact all Microsoft Outlook PST data files using an AutoIT script
;//Compact all PST files.au3
;//Rick Upton, November 1, 2015
;//http://www.rickupton.com | http://gb.rickupton.com
;//
;//This AutoIT script is a slightly modified version of code posted here: http://superuser.com/questions/836758/bulk-compaction-of-700gb-of-pst-files
;//The purpose of this code is to automatically compact all Outlook PST files on a Windows PC.
;//
;//Using a PowerShell script, open the Mail control panel and then run this script using the following two commands:
;//Show-ControlPanelItem Mail*
;//Start-Process "C:\Compact all PST files.au3" -Wait