Tag Archives: powershell

powershell

PowerShell tips – part 010.

Windows PowerShell modules provide a convenient way to package reusable ode by using modules. The concept of modules is a package that contain Windows PoserShell version 2.0 commands. Anyoane can write and install a Windows PowerShell script module with administrator rights. There are three default location for Windows PowerShell modules : home users , Windows… Read More »

PowerShell tips – part 009.

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 build from Get-EventLog and parse by Get-Date, see options:

About AddDays is not only option you can… Read More »

PowerShell tips – part 008.

This tutorial is about PowerShell and running script to disable some Services in Windows. The Windows PowerShell execution policy is allow 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 computer, use the Set-ExecutionPolicy… Read More »

Windows 10 – Clear all event logs in Event Viewer with PowerShell .

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:

Windows 10 – list all updates from your computer .

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

. Same issue with PowerShell tool, see: