Powershell (Contd..)
- Ensure Visual Studio code is installed
- Install the Powershell Extension
Building Expressions Using Powershell Operators
- -eq : equals
- -ne : not equals
- -gt : greater than
- -lt : less than
- -le : less than or equals to
- -ge : greater than or equals to
- -contains:
Conditionals & looping
-
Traditional way: Refer Here
-
Powershell New Approach:
- ForEach-Object cmdlet: Refer Here for the example with changes
