cancel
Showing results for 
Search instead for 
Did you mean: 

Powershell script to create SearchFolderManager automatically for all mailboxes listed in the server

Sughisamp
Level 3

Hi All,

I tried the powershell script shared by Veritas to run SearchFolderManager automatically for all mailboxes listed in the server's 3492 events from technote below.

https://www.veritas.com/support/en_US/article.100032531

When tried for specific time frame as below I got "No events were found that match specified selection criteria" eventhough there are many events.I doubt its because of the timestamp reference.

.\RunSearchFolderManagerForAllMailboxesWith3492Events.ps1 -StartDate "1/9/2021 6:00:00 PM" -EndDate "1/9/2021 8:00:00 PM"

There is a start time and end time quoted in the script given in the technote, should i change the time in script or how to refer it with the time reference while executing  the command.

Please guide me.

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Hello,

You seem to use: -StartDate "1/9/2021 6:00:00 PM" -EndDate "1/9/2021 8:00:00 PM"

I suggest to first try: -StartDate "1/9/2021 6:00:00" -EndDate "1/9/2021 8:00:00"

If that does not work, try -StartDate "9/1/2021 6:00:00" -EndDate "9/1/2021 8:00:00"

Regards. Gertjan

View solution in original post

Thanks for guiding Gertjan.

Below command worked for me. Earlier it was a typo error with extra space while using the quotes

.\RunSearchFolderManagerForAllMailboxesWith3492Events.ps1 -StartDate "1/9/2021 6:00:00 PM" -EndDate "1/9/2021 8:00:00 PM"

View solution in original post

3 REPLIES 3

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Hello,

You seem to use: -StartDate "1/9/2021 6:00:00 PM" -EndDate "1/9/2021 8:00:00 PM"

I suggest to first try: -StartDate "1/9/2021 6:00:00" -EndDate "1/9/2021 8:00:00"

If that does not work, try -StartDate "9/1/2021 6:00:00" -EndDate "9/1/2021 8:00:00"

Regards. Gertjan

Thanks for guiding Gertjan.

Below command worked for me. Earlier it was a typo error with extra space while using the quotes

.\RunSearchFolderManagerForAllMailboxesWith3492Events.ps1 -StartDate "1/9/2021 6:00:00 PM" -EndDate "1/9/2021 8:00:00 PM"

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Cool.

Can you mark one of the answers as solution?

Regards. Gertjan