PstScan Pro

Command line tool for scanning, exporting emails, extracting attachments, and importing data to and from .pst and .ost files.

  • Run the Inbox Repair tool until a steady state is reached
  • Export items from .pst and .ost files to various formats
  • Import .msg, and .eml files into a .pst or .ost file

What’s New in PstScan Pro

v 3.04

  • Export attached emails to .pst, .msg, .eml, and .mbox format
  • Extract attachments from .pst and .ost files
  • Portable and Installer version
When to use PstScan Pro
Usage: PstScanPro [command] [options]

Command: scan
Description: Run the Inbox Repair tool until a steady state is reached

Options:
  -f, -file      File(s) to be scanned. Specify the path to the .pst or .ost file(s), supporting wildcard characters (*?)
  -s, -scanpst   Path to the SCANPST.EXE utility (optional)
  -b, -backup    Create a backup file (.bak). Use one of the following modes: replace, new, none (optional; default: replace)
  -l, -log       Create a log. Use one of the following modes: append, replace, none (optional; default: replace)
  
  

Scanning and Repairing .pst and .ost files

The Inbox Repair tool (Scanpst.exe) may require multiple passes to fix all errors. Starting in Outlook 2016, version 1807 (build 16.0.10325.20082), the Inbox Repair tool can be run at a command line to automatically do multiple scans in a batch until a steady state is reached.

The steady state is reached when one of the following is true:

  • Zero (0) errors are returned
  • No new errors are reported (two consecutive passes yield the exact same result)
  • The maximum number of passes is reached to prevent potential looping
Usage: PstScanPro [command] [options]

Command: export
Description: Export items from .pst and .ost files to various formats

Options:
  -f, -file      File(s) to be exported. Specify the path to the .pst or .ost file(s), supporting wildcard characters (*?)
  -e, -format    File format for extracted messages: msg, umsg, eml, pst, mbox (optional; default: msg)
  -n, -name      Naming convention for saved messages: id, entryId, subject (optional; default: subject)
  -q, -query     Search query for filtering messages (optional)
  -p, -path      Destination path for extracted messages (optional)
  -fullscan      Perform an extensive scan for damaged or corrupted files (optional)
  -harddel       Find 'hard deleted' and 'orphaned' items (optional)
  -harddelonly   Export only 'hard deleted' and 'orphaned' items (optional)
  -atchmonly     Export only attached emails (optional)
  -mkdir         Create an individual directory for each exported file (optional)
  -srcfolders    Preserve the source folder structure (optional)
  -empty         Include empty folders in the export (optional)
  -storename     For pst: Specify the display name of the new Outlook data file (optional)
  -destfolder    For pst: Destination Outlook root folder for exported folders and items (optional; default: IPM Root Folder)
  -split         For pst: Create dedicated PST files for each folder (optional)
  -headers       For mbox, eml: Save internet transport headers (optional)
  -mode          Overwrite mode (optional; default: rename)
                   For msg, umsg, eml: rename, overwrite, skip
                   For pst: rename, append
                   For mbox: rename, overwrite, append
  -l, -log       Create a log file in the destination folder (optional)
  
  

Exporting Items from .pst and .ost files

PstScanPro 3.x provides powerful command line functionality for exporting items from .pst and .ost files. To initiate the export, use the export command followed by various options.

One of the key features is the ability to apply a search query to filter messages based on specific criteria, utilizing search keywords and boolean search operators. This allows users to extract only the relevant items they need, saving time and effort.

Furthermore, the tool has the capability to find and export "hard deleted" and "orphaned" items, providing an efficient way to recover and retrieve important data that may have been accidentally deleted or orphaned within the files.

These functions, among others, make PstScanPro a reliable and versatile solution for exporting items from .pst and .ost files. It simplifies the process, increases efficiency, and helps users extract the desired data effectively and accurately:

  • No Outlook installation needed for exporting to msg, eml, and mbox files
  • Outlook installation is required for exporting to .pst files

PowerShell and Command Prompt Examples:

Convert .ost to .pst

Export items to .msg files

Export items to .eml files

Exporting items by EntryIDs and IDs

Usage: PstScanPro [command] [options]

Command: extract
Description: Extract attachments form a .pst or .ost file

Options:
  -f, -file      File(s) to be processed. Specify the path to the .pst or .ost file(s), supporting wildcard characters (*?)
  -q, -query     Search query for filtering messages (optional)
  -p, -path      Destination path for extracted messages (optional)
  -fullscan      Perform an extensive scan for damaged or corrupted files (optional)
  -harddel       Find 'hard deleted' and 'orphaned' items (optional)
  -harddelonly   Export only 'hard deleted' and 'orphaned' items (optional)
  -mkdir         Create an individual directory for each exported file (optional)
  -srcfolders    Preserve the source folder structure (optional)
  -empty         Include empty folders in the export (optional)
  -l, -log       Create a log file in the destination folder (optional)
  
  

Extracting attachments form .pst and .ost files

PstScanPro 3.x offers command line functionality to extract attachments from .pst and .ost files. To initiate the extraction process, use the extract command followed by a range of options:

  • Extract multiple Outlook PST/OST attachments
  • Search query to filter messages based on specific criteria
  • Save attachments in original hierarchy
Usage: PstScanPro [command] [options]

Command: import
Description: Import .msg and .eml files into a .pst or .ost file

Options:
  -f, -file      File(s) to be imported, supporting wildcard characters (*?)
  -subfolders    Process subfolders recursively within the source folder (optional)
  -s, -store     Existing or new .pst or .ost file name (optional; default: default Outlook storage)
  -srcfolders    Preserve the source folder structure (optional)
  -empty         Include empty folders in the export (optional)
  -storename     Specify the display name of the new Outlook data file (optional)
  -destfolder    Destination Outlook root folder for exported folders and items (optional; default: IPM Root Folder)
  -mode          Overwrite mode: rename, append (optional; default: rename)
  -password      Specify the password for the existing or new PST file (optional)
  
  

Importing into a .pst or .ost file

PstScanPro 3.x offers command line functionality for importing .msg and .eml files into .pst and .ost files. Use the import command with options to initiate the import process.

You can import various items such as emails, attachments, contacts, notes, tasks, and calendars into existing or new PST or OST files.

During the conversion process, all MAPI and metadata properties, HTML formatting, attachments, images, and headers are preserved in the resulting Outlook Data file.

It's important to consider that Microsoft Outlook can be either 32-bit or 64-bit. Our software provides both 32-bit and 64-bit versions. When using our software, ensure that you match the bitness of Outlook, not the Windows OS.

Technical Specifications

Product Icon

About Product

PstScan Pro
Version: 3.04
License: Free, Personal, and Commercial use
Release Date: Sep, 2023
Download: Portable version and Installer
System Requirements

System Requirements

Processor: Intel-compatible (x86, x64)
Memory: 1 GB minimum (4 GB recommended)
Hard Disk: 50 MB for installation files
Operating System: Microsoft® Windows 11 / 10 / 8.1 / 8 / 7
Prerequisites: Microsoft .NET Framework 4.7.2 or later