IT Questions and Answers :)

Friday, February 16, 2018

Which of the following is NOT a PowerShell comparison operator type?

Which of the following is NOT a PowerShell comparison operator type?

  • Matching
  • Containment
  • Replacement
  • Assignment
 
 
Which of the following is NOT a PowerShell comparison operator type?

EXPLANATION

Comparison operators are used in PowerShell to compare values. There are four types of operators: equality, matching, containment, and replacement. The one big gotcha in PowerShell has to do with syntax: rather than using traditional comparison operators like < or > PowerShell uses -lt or -gt to perform comparisons.

SOURCE

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-5.1
Share:

0 comments:

Post a Comment

Popular Posts