Soldato
- Joined
- 18 May 2010
- Posts
- 12,847
Hi,
I'm not the best with PS and I've pieced this together by googling, I need to know I've done it right as the result is unexpected. If you ran this command what would you expect it to do please?
get-mailbox -resultsize unlimited | Search-Mailbox -SearchQuery "to:***@***.com AND from:***@***.com" -EstimateResultOnly | select displayname,resultitemscount | Export-Csv c:\scripts\Results.csv
Thanks
I'm not the best with PS and I've pieced this together by googling, I need to know I've done it right as the result is unexpected. If you ran this command what would you expect it to do please?
get-mailbox -resultsize unlimited | Search-Mailbox -SearchQuery "to:***@***.com AND from:***@***.com" -EstimateResultOnly | select displayname,resultitemscount | Export-Csv c:\scripts\Results.csv
Thanks