Tag Info

New answers tagged

0

@mortenya (was not able to reply to your post directly, not enough reputation :-] ): To get the file into a CSV, just replace "Out-File c:\PSResults\$file.txt" in your code with "Export-CSV -path c:\PSResults\$file.csv -NoTypeInformation" So it would look something like this: $users = Get-ADUser -Filter * -Properties * -SearchBase ...


2

You need an operator between your chained filters, like so: New-MailboxExportRequest -Mailbox <user> -ContentFilter {(Received -lt '05/27/2015 18:00') -or (Sent -lt '05/27/2015 18:00')} -FilePath \\Server\name.pst -ExcludeFolders “#Calendar#,#Contacts#” -ExcludeDumpster



Top 50 recent answers are included