Category Archives: PowerShell

PowerShell tips – part 012.

From Azure documentation we can read this: The Azure support we are going to use requires PowerShell version 5.0 or higher.

The update of PowerShell can be found here, see the table: Windows PS 3.0 PS 4.0 PS 5.0 PS 5.1 Windows 10 (see Note1) Windows Server 2016 – – – installed Windows 8.1… Read More »

PowerShell tips – part 011.

This is another tutorial about powershell and windows 8.1 operating sistem. You can try with another Windows OS version and powershell. First issue is to show all active services on your computer:

This will show all event logs on your computer:

More info about restricted execution policy that prevents scripting on PowerShell, see:… Read More »

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 »