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

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube