{"id":1350,"date":"2023-04-11T17:49:53","date_gmt":"2023-04-11T17:49:53","guid":{"rendered":"https:\/\/www.mozesoft.com\/blog\/?p=1350"},"modified":"2024-04-30T10:30:05","modified_gmt":"2024-04-30T10:30:05","slug":"how-to-export-exchange-contacts-to-pst-using-powershell-commands","status":"publish","type":"post","link":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/","title":{"rendered":"How to Export Exchange Contacts to PST Using PowerShell Commands?"},"content":{"rendered":"\n<p>Exporting Exchange contacts to PST is a common requirement for organizations to maintain a backup or migrate data from one system to another. While there are multiple ways to achieve this, using PowerShell commands is one of the easiest and most efficient methods. In this article, we will guide you through the process of exporting Exchange contacts to PST using PowerShell commands.<\/p>\n\n\n\n<p>Before we begin, let&#8217;s go through some prerequisites:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You must have the Exchange Server management tools installed on your computer.<\/li><li>You must have administrative privileges to perform the export operation.<\/li><li>You must be familiar with the Exchange Management Shell and PowerShell commands.<\/li><\/ul>\n\n\n\n<p>With these prerequisites in mind, let&#8217;s start the process of exporting Exchange contacts to PST using PowerShell commands.<\/p>\n\n\n\n<p>Step 1: Connect to Exchange Online PowerShell<\/p>\n\n\n\n<p>To export Exchange contacts to PST, you must first connect to Exchange Online PowerShell. Follow the below steps to connect:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Open Windows PowerShell on your computer as an administrator.<\/li><li>Run the following command to install the Exchange Online PowerShell module:<code>Install-Module -Name ExchangeOnlineManagement<\/code><\/li><li>Once the module is installed, run the following command to connect to Exchange Online PowerShell:<code>Connect-ExchangeOnline -UserPrincipalName user@domain.com<\/code><\/li><\/ol>\n\n\n\n<p>Note: Replace user@domain.com with the UPN of the Office 365 user account that has the necessary permissions to perform the export operation.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Enter the password for the user account when prompted.<\/li><\/ol>\n\n\n\n<p>Step 2: Export Exchange Contacts to PST<\/p>\n\n\n\n<p>Once you have connected to Exchange Online PowerShell, use the New-MailboxExportRequest cmdlet to export the Exchange contacts to PST. Follow the below steps to perform the export:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Run the following command to create a new mailbox export request:<code>New-MailboxExportRequest -Mailbox user@domain.com -IncludeFolders \"#Contacts#\" -FilePath \"\\\\ServerName\\ShareName\\Contacts.pst\"<\/code><\/li><\/ol>\n\n\n\n<p>Note: Replace <a href=\"mailto:user@domain.com\">user@domain.com<\/a> with the UPN of the user account whose contacts you want to export. Replace ServerName with the name of the file server on which you want to create the PST file. Replace ShareName with the name of the shared folder on the file server where you want to save the PST file.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Once the export request is created, run the following command to start the export operation:<code>Start-MailboxExportRequest -Identity \"ExportRequestName\"<\/code><\/li><\/ol>\n\n\n\n<p>Note: Replace ExportRequestName with the name of the export request that you created in step 1.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Wait for the export operation to complete. You can check the status of the export request using the following command:<code>Get-MailboxExportRequest -Identity \"ExportRequestName\" | fl Name,Status,PercentComplete,CompletionTimestamp<\/code><\/li><\/ol>\n\n\n\n<p>Note: Replace ExportRequestName with the name of the export request that you created in step 1.<\/p>\n\n\n\n<p>Step 3: Download the PST File<\/p>\n\n\n\n<p>Once the export operation is complete, you can download the PST file from the shared folder on the file server. You can use any file transfer protocol, such as FTP or SMB, to download the file to your local computer.<\/p>\n\n\n\n<p>Congratulations! You have successfully exported Exchange contacts to PST using PowerShell commands.<\/p>\n\n\n\n<p>Conclusion<\/p>\n\n\n\n<p>Exporting Exchange contacts to PST using PowerShell commands is a simple and efficient method that can be used to maintain a backup or migrate data from one system to another. In this article, we have guided you through the process of exporting Exchange contacts to PST using PowerShell commands. Make sure to follow the prerequisites and steps carefully to avoid any errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exporting Exchange contacts to PST is a common requirement for organizations to maintain a backup or migrate data from one system to another. While there are multiple ways to achieve this, using PowerShell commands is one of the easiest and most efficient methods. In this article, we will guide you through the process of exporting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[115,50],"class_list":["post-1350","post","type-post","status-publish","format-standard","hentry","category-exchange-server","tag-export-contacts-to-pst","tag-export-exchange-contacts-to-pst"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Export Exchange Contacts to PST Using PowerShell Commands<\/title>\n<meta name=\"description\" content=\"How to Export Exchange Contacts to PST Using PowerShell Commands?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Export Exchange Contacts to PST Using PowerShell Commands\" \/>\n<meta property=\"og:description\" content=\"How to Export Exchange Contacts to PST Using PowerShell Commands?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-11T17:49:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T10:30:05+00:00\" \/>\n<meta name=\"author\" content=\"Adsank\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adsank\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\"},\"author\":{\"name\":\"Adsank\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"headline\":\"How to Export Exchange Contacts to PST Using PowerShell Commands?\",\"datePublished\":\"2023-04-11T17:49:53+00:00\",\"dateModified\":\"2024-04-30T10:30:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\"},\"wordCount\":513,\"keywords\":[\"Export Contacts to PST\",\"Export Exchange Contacts to PST\"],\"articleSection\":[\"Exchange Server\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\",\"name\":\"Export Exchange Contacts to PST Using PowerShell Commands\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\"},\"datePublished\":\"2023-04-11T17:49:53+00:00\",\"dateModified\":\"2024-04-30T10:30:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"description\":\"How to Export Exchange Contacts to PST Using PowerShell Commands?\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mozesoft.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Export Exchange Contacts to PST Using PowerShell Commands?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/\",\"name\":\"Blog\",\"description\":\"IT Knowledgebase\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\",\"name\":\"Adsank\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"caption\":\"Adsank\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Export Exchange Contacts to PST Using PowerShell Commands","description":"How to Export Exchange Contacts to PST Using PowerShell Commands?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/","og_locale":"en_US","og_type":"article","og_title":"Export Exchange Contacts to PST Using PowerShell Commands","og_description":"How to Export Exchange Contacts to PST Using PowerShell Commands?","og_url":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/","og_site_name":"Blog","article_published_time":"2023-04-11T17:49:53+00:00","article_modified_time":"2024-04-30T10:30:05+00:00","author":"Adsank","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adsank","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/#article","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/"},"author":{"name":"Adsank","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"headline":"How to Export Exchange Contacts to PST Using PowerShell Commands?","datePublished":"2023-04-11T17:49:53+00:00","dateModified":"2024-04-30T10:30:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/"},"wordCount":513,"keywords":["Export Contacts to PST","Export Exchange Contacts to PST"],"articleSection":["Exchange Server"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/","url":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/","name":"Export Exchange Contacts to PST Using PowerShell Commands","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/#website"},"datePublished":"2023-04-11T17:49:53+00:00","dateModified":"2024-04-30T10:30:05+00:00","author":{"@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"description":"How to Export Exchange Contacts to PST Using PowerShell Commands?","breadcrumb":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-export-exchange-contacts-to-pst-using-powershell-commands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mozesoft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Export Exchange Contacts to PST Using PowerShell Commands?"}]},{"@type":"WebSite","@id":"https:\/\/www.mozesoft.com\/blog\/#website","url":"https:\/\/www.mozesoft.com\/blog\/","name":"Blog","description":"IT Knowledgebase","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c","name":"Adsank","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","caption":"Adsank"}}]}},"_links":{"self":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/1350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=1350"}],"version-history":[{"count":1,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/1350\/revisions"}],"predecessor-version":[{"id":1351,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/1350\/revisions\/1351"}],"wp:attachment":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=1350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/categories?post=1350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/tags?post=1350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}