AXISHK
asked on
List and remove a item in Calendar
How to use powershell to list and remove a item in Exchange 2010 calendar ?
Thx
Thx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Run the below powershell but I can't see any item in the target folder of the administrator mailbox. Any idea ?
[PS] C:\Windows\system32>search -mailbox -identity john -searchquery "Kind:meetings" -targetmailbox administrator -TargetFolder "Target" -loglevel full
RunspaceId : a6641cd4-7bea-4774-976a-2a 166e867ac4
Identity : energy.com/Hong Kong/John Leung
DisplayName : John Leung
TargetMailbox : energy.com/Service Account/Administrator
TargetPSTFile :
Success : True
TargetFolder : \Target\John-10/18/2016 9:15:01 AM
ResultItemsCount : 27
ResultItemsSize : 210.9 KB (215,983 bytes)
[PS] C:\Windows\system32>search
RunspaceId : a6641cd4-7bea-4774-976a-2a
Identity : energy.com/Hong Kong/John Leung
DisplayName : John Leung
TargetMailbox : energy.com/Service Account/Administrator
TargetPSTFile :
Success : True
TargetFolder : \Target\John-10/18/2016 9:15:01 AM
ResultItemsCount : 27
ResultItemsSize : 210.9 KB (215,983 bytes)
ASKER
Find it, Thx
https://technet.microsoft.com/en-us/library/dd298173.aspx?f=255&MSPPError=-2147217396
https://blogs.technet.microsoft.com/exchange/2010/10/27/removing-specific-messages-from-your-exchange-server/