Today I come with this simple tutorial about how to show logs from the last day. The command is very simple and can be used with PowerShell and administrator command shell like this:

This command is built from Get-EventLog and parse by Get-Date, see options:

About AddDays is… Continue Reading PowerShell tips – part 009.

This tutorial shows you how to deal with a C# and forms using Visual Studio Community 2017. You need to start your project with C# – Windows Form Apps (.NET Framework). On this default form window project, you can change the title and some settings like size, colors. After that,… Continue Reading C# – First steps with C# and .NET – part 003 .

In this tutorial, I make a script to clean all events. The script is very simple and is just a run of wevtutil command and some printing messages. Open your editor and save the script with the extensions bat or cmd. Also, you need to have Administrator rights to run… Continue Reading Using wevtutil command under Windows – part 002.

First the $WINDOWS.~BT the folder is associated with the Windows 10 and Windows 8 upgrade process. The advice is: Do not delete it. The folder may use gigabytes of disk space. If you really want to delete it then you can try to use Disk Cleanup tool. This included with… Continue Reading Windows 10 – Can you delete the $WINDOWS.~BT folder ?

This tutorial is about PowerShell and running script to disable some Services in Windows. The Windows PowerShell execution policy allows your scripts to run on your computer. If you want to see the Windows PowerShell execution policy, use the Get-ExecutionPolicy command. To change the Windows PowerShell execution policy on your… Continue Reading PowerShell tips – part 008.

This tool from Microsoft comes with this information : Microsoft Network Monitor is a tool for viewing the contents of network packets that are being sent and received over a live network connection or from a previously captured data file. It provides for complex analysis of network data through filtering… Continue Reading Windows 10 – Microsoft Network Monitor tool .

Run cmd command shell into administrator mode. Type Powershell command to start the Powershell shell. Run the next Powershell command to clear all event logs in Event Viewer:

This can be useful to check the integrity of upgrade process for your Windows OS ( all versions with wmic tool).

The same issue with PowerShell tool, see: