How to Upload a Pst File in Outlook

When working with Outlook, there will inevitably come a time when you'll need to import a PST. Simply, what is a PST? According to Microsoft, "An Outlook Information File (.pst) contains your messages and other Outlook items and is saved on your computer."

If y'all're an email user using Microsoft Outlook, some scenarios where importing PST is needed may include:

  • Re-hydrating your mailbox from PST afterward a computer replacement or Os reinstall.
  • Yous are importing a fill-in of a resigned employee'southward emails into your Outlook profile.
  • Moving from one mail system to some other. (e.g., Outlook.com to Gmail).

On the other manus, if your're an email admin, y'all may need to import a PST into user's Outlook when:

  • Restoring emails from a PST export.
  • Providing access to a terminated employee's emails to another user.
  • Migrating e-mail information from on-prem to the cloud. (e.1000., Substitution Server to Substitution Online, Office 365)

Regardless of the reason for importing the PST file, there are several ways to practice it. And, in this article, you lot volition learn the different possible ways to import Outlook information file PST. Then, y'all can decide which method of PST import is best for y'all.

Requirements

This commodity is a How-To, which ways there are some requirements if you determine to follow along with the examples.

  • A computer with Windows 10.
  • An electronic mail business relationship. The email account may be from whatever provider as long equally the mailbox can exist configured in Outlook. Notwithstanding, it is recommended for you to prepare a dummy electronic mail account for testing.
  • Outlook 2019. An older version of Outlook, like Outlook 2010, Outlook 2013, and Outlook 2016 can exist used as well.
  • A part of this commodity deals with an case using an Exchange Mailbox, so access to an Exchange Server will be needed if you need to follow along with the case.

Attaching PST Files using Outlook

Attaching PST files to Outlook allows yous to just be able to admission the contents of a PST as a separate Outlook information file in your Outlook contour. This means that the contents of the PST are not imported into your own mailbox.

You can attach ane or more PST files to Outlook and have access to them all at the same time. PST file locations may exist local or remote (UNC).

The process below assumes that yous already accept a mailbox profile configured in Outlook, and you will exist attaching a PST file located in C:\PST\backup.pst.

While in Outlook, click on File —> Open & Consign —> Open Outlook Information File.

Open Outlook Data File
Open up Outlook Data File

Once the Open Outlook Data File window shows up, browse to the location of the PST file that y'all want to attach to Outlook. In this example, the PST file is in C:\PST\backup.pst. Then, one time you lot've located the PST file, click OK.

Selecting the PST file to attach to the Outlook profile
Selecting the PST file to adhere to the Outlook profile

Later clicking the OK button, y'all will see that a new folder with the proper noun Outlook Data File will appear in your Outlook's folder pane.

PST has been attached to the Outlook profile
PST has been attached to the Outlook profile

Now that the PST is attached to Outlook, y'all can decide whether to re-create the contents into your ain mailbox or merely leave them in the split PST file.

Attaching PST Files using PowerShell and the Outlook .NET API

Using the Microsoft.Office.Interop.Outlook Namespace, attaching i or more PST files to Outlook can be automatic. This method is especially useful for admins who demand to attach PST files to the Outlook profile of multiple users, perchance during user logon or at a scheduled interval.

The script below will enumerate all PST files plant in the directory C:\PST, then attach each PST file to the default contour configured in Outlook.

            $PSTPath = "C:\PST" Add-blazon -associates "Microsoft.Role.Interop.Outlook" $outlook = new-object -comobject outlook.awarding $namespace = $outlook.GetNameSpace("MAPI")  Get-ChildItem $PSTPath -Filter *.pst | ForEach-Object {     $namespace.AddStore($_.FullName) }          

When you lot run the script above past pasting it into your PowerShell session, you lot should see a similar output, as shown in the demonstration beneath.

Attaching PST files to Outlook using PowerShell
Attaching PST files to Outlook using PowerShell

Importing PST Files using the Outlook Import Wizard

Outlook has a built-in feature called the Import and Export Wizard. Running the import wizard is, by far, the most convenient style for users to import PST into Outlook. It imports all or selected data from a PST file into the mailbox configured in Outlook.

Suppose you already have an Outlook email profile configured, and your email admin provided you lot the PST file containing the emails you asked them to recover. Now, you need to import the recovered emails into your mailbox. This is where the Import and Export Wizard volition exist useful.

In this adjacent instance, the PST to be imported is in C:\Temp\recovered.pst.

While in Outlook, click on File —> Open & Export —> Import/Consign .

Outlook Import Export
Outlook Import Consign

When the Import and Consign Wizard window shows up, select the option to Import from another program or file. Then, click Next.

Select the option to Import from another program of file
Select the option to Import from another plan of file

Then, in the Import a File window, select Outlook Data File (.pst) . And then, click Next.

Select the option Outlook Data File (.pst)
Select the option Outlook Data File (.pst)

When the Import Outlook Information File window shows up, click on Browse.

Click the Browse button
Click the Browse push

Locate the PST file to import the emails from. In this example, the file is in C:\PST\Recovered.pst and click Open.

Select the PST file to open
Select the PST file to open

Once you're back to the Import Outlook Data File window, the File to import box shows the file pst and click Do non import duplicates to prevent duplicates from being imported. And so, click Next.

Select the option Do not import duplicates
Select the option Do not import duplicates

In the side by side window, you can choose to import from the top folder, including subfolders, or you can aggrandize the tiptop folder and select which subfolder to import items from. In this example, the meridian folder is selected and volition include all subfolders.

Once you're satisfied with your selection, click Finish.

Select import options
Select import options

After clicking Terminate, Outlook will proceed to import items. The time Outlook takes to consummate the import volition depend on the number and size of items being imported. The import duration may accept several minutes to hours.

Importing PST Files Using the New-MailboxImportRequest PowerShell Cmdlet

Using the New-MailboxImportRequest PowerShell cmdlet is non exactly simply importing PST files into Outlook. The New-MailboxImportRequest cmdlet is specifically for importing PST files into a mailbox hosted in Exchange Server. The effect, even so, is that the imported items will prove upward in Outlook.

Only admins who have the Mailbox Import Export office in Exchange tin perform this operation. If the admin'southward account is not assigned the Mailbox Import Export function, the cmdlet will non be available.

It is important to note that the New-MailboxImportRequest accepts the path of the PST using the FilePath parameter. Withal, the FilePath parameter only accepts UNC paths and does not accept local paths. And then, even if the PST files are located locally, you must use their UNC file path instead.

This next instance will import the PST file C:\PST\Recovered.pst located in the server usexc001 into the mailbox of [e-mail protected] The Name parameter is where you lot tin can assign a name to the import task you are creating. This can be any proper name that yous desire. In this example, the name of the import task is the aforementioned every bit the name of the mailbox.

The code above must be run inside the Commutation Management Crush, and once the code is run, the screenshot below shows the expected output.

Creating a PST import request
Creating a PST import request

As you can see from the output above, the initial condition of the import request volition be set to queued. You can monitor the status using the Get-MailboxImportRequest and Get-MailboxImportRequestStatistics cmdlets.

The code below gets the PST import condition with the proper name [electronic mail protected]

            Go-MailboxImportRequest -Proper noun '[e-mail protected]' | Go-MailboxImportRequestStatistics          

After running the command above, you lot should run into the current status of the import request. See the screenshot below as an example.

Getting the import request status
Getting the import request status

Equally y'all tin run across, the above screenshot shows that the import request has been completed. And the next time you opened the mailbox in Outlook, the imported items from the PST file should become available.

There are more parameters or options that tin be used with the New-MailboxImportRequest to control the issue of the PST import request. And, if you lot're interested to learn more, you lot can visit this link.

Conclusion

In this article, you learned the unlike ways to attach or import PST file to Outlook. Yous've learned how the PST files can be fastened to Outlook manually using the features built-in to Outlook itself.

You've also seen how PST files can exist attached to Outlook using PowerShell utilizing the Outlook .Net API. The Outlook .NET API can also exist used with other different programming languages like Visual Basic. This programmability provides flexibility for admins to how PST import tin can exist automatic.

Additionally, you lot've also learned how email admins can import PST files into Commutation Server mailboxes using the New-MailboxImportRequestExchange PowerShell cmdlet.

Perhaps now, with the noesis that I hope you gained in this commodity, y'all tin can create a more complex script to import multiple PST files to multiple user mailboxes automatically.

Further Reading

  • Introduction to Outlook Information Files (.pst and .ost)
  • New-MailbxImportRequest
  • Manage office groups

josephdord1935.blogspot.com

Source: https://adamtheautomator.com/import-pst-to-outlook/

0 Response to "How to Upload a Pst File in Outlook"

Kommentar veröffentlichen

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel