Hi Falanga, Rod, DOH
Those BSODs piling up can feel endless, and the script’s numbers don’t always match reality. The short answer is yes, Windows Event Viewer does purge logs over time. By default, the System log has a max size, and once it hits that, older entries get overwritten. That’s why you’re seeing a few hundred instead of thousands the log just doesn’t keep everything forever. If you want a longer history, you can bump up the log size in Event Viewer settings or set it to archive instead of overwrite. Another thing to note: not every crash gets logged if the system doesn’t fully write out the event before reboot, so the count can be off. Your PowerShell script is fine, but it’s only as good as the data available in the log. If you’re really trying to track BSOD frequency, you might want to use Reliability Monitor or even set up a scheduled export of the event logs so you don’t lose older entries.
If everything is okay, don't forget to share your experience with the issue by "Accept answer". If you need more information, feel free to leave a message. We are happy to help!