Windows Classroom Session – 25/Sept/2020

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:

    1. ForEach-Object cmdlet: Refer Here for the example with changes

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company
Exit mobile version
%%footer%%