PowerShell 7 Tutorial 14: Comparison Operators - in depth explanation

preview_player
Показать описание
In this tutorial, I go over in detail, the behaviors of comparison operators in Windows PowerShell 7.

This demonstration uses PowerShell 7 and Visual Studio code with PowerShell 7 extension. But the PowerShell commands and steps taken here can be written on any other text editor or IDE/ISE.

-Windows PowerShell playlist:
-Windows Server Admin playlist:
-Microsoft Windows playlist:

Chapters:
0:00:00 - Introduction
0:00:59 - Case Sensitivity
0:07:50 - Operators and Arrays
0:26:03 - Equal to and Not equal to
0:33:36 - Like and not like
0:40:06 - Greater than and Less than
0:52:50 - Contains, Not contains, In and Not in
0:58:47 - Match and Not match
1:09:43 - Replace
1:14:48 - Split

Track: WhileART Sessions Episode 02 | Waramathi (වරමාතී) Fusion

Co-producer:
Manuja Senanayake

#PowerShell #operators #powershellscripting #PowerShell7 #windows11
Рекомендации по теме
Комментарии
Автор

great videos and appreciate all your efforts, 2 little tips though...
1) start your code with the line 'cls' so it clears the screen every time you run the code instead of you constantly forgetting to do it and having to run the code again :)
2) When running a line of code, you don't have to select the entire code section you want to run. As long as the line is selected with the cursor, just run the selection and it will run that line.
You're welcome :)

lsmokm
Автор

@Sanuja


That 'case insensitivity' might be for Linux with Powershell compatibility over there.

cleightthejw
welcome to shbcf.ru