Tag Archives: powershell

powershell

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:

PowerShell tips – part 007.

To create a list grid to show infos and output from powershell, you can send the output to the Out-GridView cmdlet: Let’s make one example to show the output of : Get-WmiObject Win32_Processor .

The result is this:

PowerShell tips – part 006.

You can test connectivity with the PowerShell administrator mode by using the next commands:

Let’s start with Test-NetConnection command. This command displays diagnostic information for a connection. Depending on the input you can test ping test, TCP test, route tracing, and route selection diagnostics and also get infos about DNS lookup results, a list… Read More »