Skip to content

KC's Blog

  • Home
  • About Me
  • Sitemap

event log

Checking Why A Remote Computer is Shutdown or Restarted

May 2, 2022January 24, 2023 Kent ChenMicrosoft

For Windows computers, every shutdown or restart is logged in the Event Viewer so you know what exactly happened, whether it’s a system triggered reboot, or by a user specifically, or a restart because of a system or application crash. So, if you want to dig into this information, all you need is to open Event Viewer, head into System […]

Read more

How To Get the Data Out of ReplacementStrings Properly

July 26, 2018January 24, 2023 Kent ChenMicrosoft

When retrieving data from the event log, there is a set of data stored in a data field called ReplacementStrings that is very useful to the certain types of log entries. It’s structured as a string array, therefore, can be retrieved if you know the data structure. The problem is, every type of event ID has different string array structure. […]

Read more

Gather Bad Password Attempts and Account Lockout Info in PowerShell

July 25, 2018January 24, 2023 Kent ChenMicrosoft
PowerShell

If a user account gets locked out, I can follow these tips to find out why and when it happened. But how can I check and gather lockout info along with the bad password attempts info of all users across the entire AD domain? Asking help from PowerShell is my answer. There are two places where we can gather this […]

Read more
  • Group Policy to Bypass the UAC Prompt After PrinterNightmare Patch
  • Managing Microsoft Licenses in PowerShell and Microsoft Graph
  • Audit Email Deletion in Microsoft 365
  • Adding Multiple Server Names to A Windows Server
  • Enforcing HTTP to HTTPS on IIS

KC's Blog

  • Home
  • About Me
  • Sitemap
Powered by WordPress | Theme: Astrid by aThemes.