On Windows, you can clear Event Viewer logs by using the eventvwr.msc GUI snap-in, from the command prompt, and by using PowerShell.
Using PowerShell for System Administration and Automation Tasks
What Others Are Reading in PowerShell
- PowerShellWindows 11Windows Server 2022Windows Server 2025
How to Enable or Disable PowerShell Remoting (WinRM) in Windows
December 3, 2025PowerShell Remoting (PSRemoting) enables administrators to remotely manage Windows computers and servers, run scripts and commands, and perform administrative tasks. PowerShell Remoting is built on the Windows Remote Management (WinRM)…
- PowerShellWindows 11Windows Server 2019
How to Connect and Query MySQL or MariaDB with PowerShell
March 17, 2024You can connect to a MySQL/MariaDB database, select data from a table, and add, update, and delete table entries directly from a PowerShell script. In this post, we’ll look at…
- PowerShellWindows 10Windows 11Windows Server 2019
Windows: Auto Reconnect to VPN on Disconnect
November 3, 2023By default, the built-in Windows VPN client does not attempt to reconnect to the VPN server if the connection is lost. If the connection is dropped, the user must manually…
- PowerShellWindows 10Windows 11
How to Unblock a File Downloaded from Internet on Windows
November 17, 2023Windows displays a security warning when you try to open or run an executable file/script that you downloaded from the Internet. This article explains how Windows identifies a file downloaded…