Install ReportUnit from Nuget.
Monthly Archives: November 2018
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
Here-String Powershell
12345678$text = ‘@ This is an example on how you can have multiple lines. You can also use indent. Perfect for things like SQL query etc ‘@