Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Working on Salesforce Trailhead modules

Rick Upton rickupton

💭
Working on Salesforce Trailhead modules
View GitHub Profile
@rickupton
rickupton / Rick Startup.ps1
Created Nov 1, 2015
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
# 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 Oct 29, 2020
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
;//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
You can’t perform that action at this time.