0

how to get 1 year old alert details in scom using powershell?

i have tried:

get-alert | Where-Object { $_.TicketId -ilike "IR-*"}

but getting only 1 week old alerts. please help,

Thanks

v_b
  • 175
  • 1
  • 4
  • 10

1 Answers1

1

You are getting 1 week old alerts because it only store 1 week alert by default. You have to change the database grooming setting.

cylm
  • 26
  • 2