![]() New-Item -Path 'E:\PST.archive\Full Backup\Enterprise West' -Name "$($folder.Name)" -ItemType Directory Managed to work on this and got something functional, please use at your OWN risk. How to disconnect PST file from Outlook using Powershell? The second post here looked helpful but I'm running into errors with the AutoDiscover URL and/or likely permission problems.Īlso found this which looked but I don't want PSTs attached to my outlook.Ĭopy Exchange on-prem public folder to Local Outlook PST file. $namespace.GetFolderFromID($SourceFolder).CopyTo($DestinationFolder) ![]() $DestinationFolder = $namespace.PickFolder() | Select EntryID $SourceFolder = $namespace.PickFolder() | Select EntryID $namespace = $Outlook.GetNameSpace("MAPI") $Outlook = New-Object -ComObject Outlook.Application What I have found so far isn't automated but it helped when I had to get someone's folder copied over quickly. I'm searching for a way to automate using Outlook's Export to PST functionality in order to pull Public Folders named A-Z as individual PST files (because there is a PST size limit) and I'm hoping for a pure Powershell method.
0 Comments
Leave a Reply. |