Power Shell – Type comparison
What is comparison Operator? Comparison operators let you specify conditions for comparing values and finding values that match specified patterns. To use a comparison operator, specify the values that you want to compare together with
PowerShell – Replacement Operator
Replacement Operator PowerShell provides several options to help you replace text in a string with other text.ย The -replace operator replaces all or part of a value with the specified value using regular expressions.ย It replaces every
PowerShell – Matching Operators
-like and -notlike Operators The like operators find elements that match or do not match a specified pattern using wildcard expressions. How its handle single & Collection values? If we input scalar value, comparison operators
PowerShell – Equal Operators
Equal Operators: The equal operators return a value of TRUE if its identical or return a value of FALSE if it is not identical. The entire pattern must match an entire value. By default, all
PowerShell Basics: Comparison Operators and Conditional Logic
Comparison Operators and Conditional Logic Comparison operators let you specify conditions for comparing values and finding values that match specified patterns. To use a comparison operator, specify the values that you want to compare together
PowerShell – Sorting in Array
Sort array: It's very easy of arranging the elements of an array in a order with PowerShell. Just we need to do is pipe the output of an array to the Sort-Object cmdlet:ย The default sort
Powershell Array
By default, PowerShell assumes that the elements of an array are of the type variant.ย This means that you can mix different data typesโthat is, combine numerical values, dates, or strings in a single variable.ย The data
PowerShell Comments
Same like other programming language, the comments in Powershell will not executed. Comments can be added to explain the function of the code and it can ย be placed anywhere and anything between them will be