Query outlook powershell

asif ahamed 176 Reputation points

Add-Type -assembly "Microsoft.Office.Interop.Outlook"

$Outlook = New-Object -ComObject Outlook.Application

$Namespace = $Outlook.GetNameSpace("MAPI")

$NameSpace.Folders.Item(2) | Select FolderPath

When I run the above I get folder path \MyFolder - myname@domail.com

but I want to search all the folder recursive get the RECEIVED time. Please help me

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,751 questions
{count} votes

0 additional answers

Sort by: Most helpful