Repair corrupted PSTs via PowerShell or the cmd prompt in Windows

The Inbox Repair Tool (scanpst.exe) included in Outlook 2016, specifically Outlook 2016 for O365 version 1807 (build 16.0.10325.20082) and above now includes code that will allow you to run scanpst.exe from a command-line interface.

This functionality is great especially if you find yourself in a position where you need to scan and repair a large number of PSTs.

The following examples were tested on a PC running Windows 10 Enterprise (x64-bit) version 1803 (OS Build 17134.1039) with Outlook for Office 365 MSO (16.0.12026.20100) (32-bit) Version 1909 Click-to-Run.

Continue reading

Throttle a Robocopy

You can throttle a Robocopy to avoid consuming all available network bandwidth by using the /ipg:n switch. This can be helpful if you need to perform a large data copy over a WAN.

To determine the inter-packet gap value to use for n, use the following formula:

D = (Ba-Bd) / (Ba*Bd) * 512 * 1000

Where Ba is available bandwidth in Kibibytes and Bd is the desired bandwidth in Kibibytes.

Also here is a handy calculator to help you test your values.

Continue reading

Search and copy .olm files from systems running macOS

Exporting to a Mac Data File (.olm) allows macOS users running Outlook to create a copy of their email messages, contacts, and other items. These files are not mountable and can be thought of as backup to your mailbox.

export to Archive file (.olm)

Like .pst’s found on Windows systems, .olm’s often create problems for organizations.

Continue reading

Quickly find files on macOS via the Terminal using mdfind

Spotlight Search

MacOS users can use Spotlight to help them find apps, documents, and other files on a Mac computer. Spotlight builds and maintains an index containing all this information which makes it easy to quickly find what you are looking for.

But did you know the Spotlight index is also used by mdfind, which is a command designed to be run from the terminal?

Continue reading

Encrypt a disk in Ubuntu Linux using Cryptsetup

LUKS Linux Unified Key Setup

Cryptsetup is a utility used to setup disk encryption and is based on the DMCrypt kernel module. It implements LUKS which is the standard for Linux hard disk encryption.

LUKS provides a standard on-disk-format and facilitates compatibility among distributions while also providing secure management of multiple user passwords. In contrast to existing solutions, LUKS stores all setup necessary setup information in the partition header, enabling the user to easily transport the data.

Today we will examine how to setup encryption on a 32GB SanDisk USB thumb-drive using Ubuntu Linux.

Continue reading

© 2019 revelset

Theme by Anders NorénUp ↑