Good job on making it to the end of Variables and Operators! In this lesson, we learned the following:

  • How to create variables in a variety of ways
  • Variable types and constrained variables
  • Listing and creating environment variables
  • Manipulate variables and data with operators
  • Using arithmetic operators to perform mathematical operations
  • Using assignment and unary operators to change data
  • Using equality and type comparison operators to compare two pieces of data
  • Using logical operators that enable us to create complex comparison statements
  • Order of operations


Feel free to practice using variables and operators in script.ps1.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?