From: Miha on
Hello

Can anyone help me to write an Exchange powert scipt to extract (or delete)
all *.avi and *.mpeg attachement from all mailboxes on a server? Or is there
any other point-and-click via GUI way?
Thank you in advance
Regards,Miha


From: John Oliver, Jr. [MVP] on
What version of Exchange? Ontrack Powercontrols is a third party tool that
can do this but its not free.

--
John Oliver, Jr
MCSE, MCT, CCNA
Exchange MVP 2010
Microsoft Certified Partner


"Miha" <miha(a)positiva.si> wrote in message
news:eVbnWfr8KHA.4604(a)TK2MSFTNGP04.phx.gbl...
> Hello
>
> Can anyone help me to write an Exchange powert scipt to extract (or
> delete) all *.avi and *.mpeg attachement from all mailboxes on a server?
> Or is there any other point-and-click via GUI way?
> Thank you in advance
> Regards,Miha
>
From: Miha on
Exchange 2007.

"John Oliver, Jr. [MVP]" <jcoliverjr(a)hotmail.com> wrote in message
news:07B8358B-BA3A-4C7F-B8BD-EFC9E95DFF5F(a)microsoft.com...
> What version of Exchange? Ontrack Powercontrols is a third party tool
> that can do this but its not free.
>
> --
> John Oliver, Jr
> MCSE, MCT, CCNA
> Exchange MVP 2010
> Microsoft Certified Partner
>
>
> "Miha" <miha(a)positiva.si> wrote in message
> news:eVbnWfr8KHA.4604(a)TK2MSFTNGP04.phx.gbl...
>> Hello
>>
>> Can anyone help me to write an Exchange powert scipt to extract (or
>> delete) all *.avi and *.mpeg attachement from all mailboxes on a server?
>> Or is there any other point-and-click via GUI way?
>> Thank you in advance
>> Regards,Miha
>>


From: Miha on
Have found the solution. Here is the script if someone need it
Get-Mailbox -ResultSize 'Unlimited' |
Export-Mailbox -DeleteContent -AttachmentFilenames '*.avi',
'*.mpeg' -TargetMailbox ExportedMailbox -TargetFolder 'Export'


"Miha" <miha(a)positiva.si> wrote in message
news:Od9pe7y8KHA.5716(a)TK2MSFTNGP06.phx.gbl...
> Exchange 2007.
>
> "John Oliver, Jr. [MVP]" <jcoliverjr(a)hotmail.com> wrote in message
> news:07B8358B-BA3A-4C7F-B8BD-EFC9E95DFF5F(a)microsoft.com...
>> What version of Exchange? Ontrack Powercontrols is a third party tool
>> that can do this but its not free.
>>
>> --
>> John Oliver, Jr
>> MCSE, MCT, CCNA
>> Exchange MVP 2010
>> Microsoft Certified Partner
>>
>>
>> "Miha" <miha(a)positiva.si> wrote in message
>> news:eVbnWfr8KHA.4604(a)TK2MSFTNGP04.phx.gbl...
>>> Hello
>>>
>>> Can anyone help me to write an Exchange powert scipt to extract (or
>>> delete) all *.avi and *.mpeg attachement from all mailboxes on a server?
>>> Or is there any other point-and-click via GUI way?
>>> Thank you in advance
>>> Regards,Miha
>>>
>
>