Tag Archives: powershell

powershell

PowerShell tips – part 027.

Windows PowerShell Integrated Scripting Environment (ISE) is a graphical host application that enables you to read, write, run, debug, and test scripts and modules in a graphic-assisted environment., see the official webpage. You can start on the command shell with this command:

You can run PowerShell commands in this environment, let’s see the version… Read More »

PowerShell tips – part 026.

In this article tutorial, I will show you how to use a function from a PowerShell script. Create a script named: Get-NetworkConnectionProcess.ps1. Add this source code to your script:

Use the dot sourcing operator (.) to load the function into your PowerShell session, like this:

The command will load the function and once… Read More »

PowerShell tips – part 025.

Git is a free and open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. This tip lets you install the git tool using the widget command line tool. The widget command line tool enables users to discover, install, upgrade, remove and configure applications on Windows 10 and… Read More »

PowerShell tips – part 024.

You can access the certificate store using MMC or using CertMgr.msc command. This will show you all certificates in the Local Machines Personal Store:

This will show info about one certificate result on the first PowerShell command:

Also, you can test many PowerShell commands about certificates, like:

For the remote servers, we… Read More »

PowerShell tips – part 023.

You need to run on admin this command:

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

PowerShell tips – part 022.

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 you stay with vim installed,… Read More »

PowerShell tips – part 020.

This is a simple example with the PowerShell interface. I used a CSV online tool to generate data and I build this example. You can see you can select and filter the data with this interface. This is the source code I used: