PowerShell Basics: Data, Loops and Conditions

 

Powershell arrays and objects and logic: If queries and loops.

PowerShell if else and switch

PowerShell if else and switch

created: 2022-05-02 from Bernhard

Test conditions with the commands if, elseif, else and switch and execute a command if they apply: if, else, ... then ... continue reading

PowerShell Loops and Array

PowerShell Loops and Array

created: 2022-05-02 from Bernhard

An array stores multiple values, similar to a 2-column table. ... continue reading

PowerShell Hashtable vs Array vs Dictionary

PowerShell Hashtable vs Array vs Dictionary

created: 2022-05-02 from Bernhard

If you want to store specific values for an array, you will reach the limits with arrays. A hashtable is similar to an array, but stores a value for each entry. (similar to the vbscript: Dictionary) ... continue reading

PowerShell own objects

PowerShell own objects

created: 2023-08-24 from Bernhard

PowerShell cmdlets very often create an object or an object array (multiple objects in an array). In this post, I show how to create objects themselves and add properties to them. ... continue reading

By continuing to browse the site, you agree to our use of cookies. More Details