Hi Vashu Sonkar,
What is the PowerShell command and what error do you get when you run that? Can you post the full error message or the screenshot?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to convert my OST Files into PST by Windows PowerShell but the cd prompt gives an undefined error. They show an error in the AddStoreFromFile syntax. I request the community to please answer my query if you have a solution.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
Hi Vashu Sonkar,
What is the PowerShell command and what error do you get when you run that? Can you post the full error message or the screenshot?
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
According to the error message, the script is trying to invocate the AddStoreFromFile method which actually does not exist. The Microsoft.Office.Interop.Outlook.NameSpaceClass class has only the AddStore(Object) and AddStoreEx(Object, OlStoreType) methods.
NameSpaceClass Class (Microsoft.Office.Interop.Outlook) | Microsoft Learn
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more