Example on how you can create a Powershell loop in scripts using do/while and try/catch.
Category Archives: Powershell
Create Pester HTML report
Install ReportUnit from Nuget.
Validate Powershell Code with Pester
Example on how you can verify that code in a Powershell script is valid Powershell code using Pester
Powershell Workflow
Articles
Copy group membership
Short script to copy group membership from one account to another.
Break/continue in a foreach loop Powershell
How to use break and continue in a foreach loop in Powershell
While/Until Powershell
Usage example for while and until in Powershell
For Loop Powershell
Looping until a value is reach
String operators -like and -match
Some short examples on how you can use string operators -like and -match
String formating Powershell
Examples on how you can format string in Powershell