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 / Rick Startup.ps1
Created November 1, 2015 21:10
Compact and backup all Microsoft Outlook PST data files using a PowerShell script
View Rick Startup.ps1
# Rick Startup.ps1
# Rick Upton, November 1, 2015
# |
# 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 / Compact all PST files.au3
Last active July 12, 2022 09:22
Automatically compact all Microsoft Outlook PST data files using an AutoIT script
View Compact all PST files.au3
;//Compact all PST files.au3
;//Rick Upton, November 1, 2015
;// |
;//This AutoIT script is a slightly modified version of code posted here:
;//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