You need to run on admin this command:

This script will show if the Hyper-V is enabled or not.

In this tutorial, I will show you how to install programs using Scoop under the PowerShell command line or Windows command line. This software named Scoop is a command-line installer for Windows. Open the windows command line and run powershell:

Let’s install and uninstall the vim editor:

If… Continue Reading PowerShell tips – part 022.

In this tutorial, I will show you a complex command to update all the modules and packages installed in the python version installed on the Windows operating system. Start the PowerShell command line and use this command:

You can start a PowerShell or command shell with these commands:

You can start an admin PowerShell or command shell with these commands:

Also, you can specify the working directory:

 

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:

Translate »