PowerShell execution policies are a security mechanism to protect your system from running malicious scripts. Execution policies are based on trust Execution policies have various security levels, like: Unrestricted – the least restrictive policy is one that does not affect at all; it’s Unrestricted. Unrestricted execution policies are essentially disabled.… Continue Reading PowerShell tips – part 017.

The tutorial for today is about the PowerShell G.U.I. (GUI is defined as an acronym for graphical user interface). You can solve this issue with an editor tool like POSHGUI, or use any text editor. I will show you one commented script about how to create a form with a… Continue Reading PowerShell tips – part 016.

This PowerShell script will create a screenshot file named MyScreenshot.bmp. I created a folder named temp and I put this PowerShell script named screen.ps1. The source code of this script is this:

To run this script you need to be allowed with this args:

Today I will tell you about how to use PowerShell command with DIR command with filters. Let’s see some examples with outputs:

Using the administrator PowerShell:

Using the regular user PowerShell:

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 –… Continue Reading PowerShell tips – part 012.

This is another tutorial about PowerShell and Windows 8.1 operating system. You can try with another Windows OS version and PowerShell. The 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… Continue Reading PowerShell tips – part 011.

Windows PowerShell modules provide a convenient way to package reusable ode by using modules. The concept of modules is a package that contains Windows PowerShell version 2.0 commands. Anyone can write and install a Windows PowerShell script module with administrator rights. There is three default location for Windows PowerShell modules:… Continue Reading PowerShell tips – part 010.

Translate »