Forum

Exchange 2010 Expor...
 
Bildirimler
Hepsini Temizle

Exchange 2010 Export pst Powershell komutu

4 Yazılar
2 Üyeler
0 Likes
759 Görüntüleme
(@EminAbbasoglu)
Gönderiler: 66
Estimable Member
Konu başlatıcı
 

Merhaba,

 

Exchange 2010 da bir hesabın belli bir tarih aralığında maillerini pst'ye aktarmak istiyorum. 

New-MailboxExportRequest  -Mailbox xxxxx -ContentFilter {(Received -gt '01.05.2016') -and (Received -lt '01.06.2016')} -FilePath xxxxxx

bu komutta sıkıntı yok verilen tarih aralığındaki mailleri alabiliyorum

Ancak komutu şu şekilde değiştirdiğimde

New-MailboxExportRequest  -Mailbox xxxxx -ContentFilter {(Received -gt '01.05.2016') -and (Received -lt '26.05.2016')} -FilePath xxxxxx

 

The provided ContentFilter value is invalid. ContentFilter is invalid. The value "26.05.2016" could not be converted to
type System.DateTime. --> The value "26.05.2016" could not be converted to type System.DateTime.
+ CategoryInfo : InvalidArgument: ((Received -gt '...t '26.05.2016'):String) [], ContentFilterInvalidPerm
anentException
+ FullyQualifiedErrorId : 4C5E82CA

 

hatası alıyorum. Sebebi ne olabilir.

Sunucu Windows 2008 R2 Eng

Bölgesel ayarlada Format ve Lokasyon Türkiye seçili

 

Teşekkürler

 
Gönderildi : 03/11/2016 20:22

(@umitseyhan)
Gönderiler: 367
Üye
 

Merhaba,

 

Exchange 2010 da bir hesabın belli bir tarih aralığında maillerini pst'ye aktarmak istiyorum. 

New-MailboxExportRequest  -Mailbox xxxxx -ContentFilter {(Received -gt '01.05.2016') -and (Received -lt '01.06.2016')} -FilePath xxxxxx

bu komutta sıkıntı yok verilen tarih aralığındaki mailleri alabiliyorum

Ancak komutu şu şekilde değiştirdiğimde

New-MailboxExportRequest  -Mailbox xxxxx -ContentFilter {(Received -gt '01.05.2016') -and (Received -lt '26.05.2016')} -FilePath xxxxxx

 

The provided ContentFilter value is invalid. ContentFilter is invalid. The value "26.05.2016" could not be converted to
type System.DateTime. --> The value "26.05.2016" could not be converted to type System.DateTime.
+ CategoryInfo : InvalidArgument: ((Received -gt '...t '26.05.2016'):String) [], ContentFilterInvalidPerm
anentException
+ FullyQualifiedErrorId : 4C5E82CA

 

hatası alıyorum. Sebebi ne olabilir.

Sunucu Windows 2008 R2 Eng

Bölgesel ayarlada Format ve Lokasyon Türkiye seçili

 

Teşekkürler

 

Merhaba Emin Bey,

 

PowerShell'de tarih kullanımı ay,gün,yıl olarak kullanılmaktadır. Siz ise gün,ay,yıl olarak giridğiniz için hata almaktasınız.

 

Bilginize.

 
Gönderildi : 04/11/2016 16:58

(@EminAbbasoglu)
Gönderiler: 66
Estimable Member
Konu başlatıcı
 

Merhaba

tavsiyeniz üzerine  onuncu ayın Bir'inden  Yirmialtı' sına kadar olan mailleri export etmek istedim.

[PS] C:\Windows\system32>New-MailboxExportRequest -Mailbox xxxxx -ContentFilter {(Received -gt '10.01.2016') -and (Received -lt '10.26.2016')} -FilePath "xxxxxxxxxxxxxx_01102016_26102016.pst"

 

Name                      Status                    SourceAlias                         PercentComplete
----                            ------                      -----------                                ---------------
MailboxExport         Failed                      xxxxxx                                      0

komutda hata vermedi ancak onuncu ay içinde mail olmasına rağmen vermedi.

Ama dedim ya komut şu şekilde olsa onun cu ayın maillerini pst ye aktarıyor.

-ContentFilter {(Received -gt '01.10.2016') -and (Received -lt '01.11.2016')}

 
Gönderildi : 09/11/2016 17:54

(@umitseyhan)
Gönderiler: 367
Üye
 

Merhaba Emin Bey,

 

PST export komutunu çalıştırmandan önce Exchange server üzerinde pst export yapacak olan kullanıcı hesabına mailbox export import yetkisi vermeniz gerek. Aşağıdaki PS ile bu yetkiyi verebilirsiniz.

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Administrator

Bilginize.

 

 
Gönderildi : 13/11/2016 23:37

Paylaş: