Tag: Get-WinEvent

  • PWSH: Get-Latest-WinEvent-Prompted-DCs

    PWSH: Get-Latest-WinEvent-Prompted-DCs

    This is a VERY useful script that prompts for RWDC or RODCs, prompt to specify EventIDs or just get the last event on each DC, and refactored with Microsoft CoPilot 4 for locations where WinRM is disabled, using Invoke-Command (Enter-PSSession)