Category: powershell

PowerShell 0

Powershell – Regular Expression

Regular expressions (regex or regexp) are extremely useful for   powerful search pattern language and also used in extracting information. Powershell makes use of Regular expression in several ways.  Select-String

The above code search all...

PowerShell 0

Powershell – Using foreach loop over an array

In this article let’s see how to use foreach on powershell array element. Checkout How to create an array and add/remove items into powershell array. Syntax of ForEach (loop statement in powershell)

Use ForEach...

PowerShell 0

Adding and Removing Items from a PowerShell Array

In this article i will show you how to add and remove items from a powershell array.  Create an Array in Powershell using System.Array

If we create an array and run the command...

PowerShell 0

How to start PowerShell from Windows Explorer

There are times where we need to start the Windows PowerShell inside the specific directory and start running the PowerShell commands. Usually, we type the command “PowerShell” in windows run to open PowerShell and then use...