Operators

Operators are the heart of every programming language. With operators, you can make comparisons or modifications to and between values. PowerShell offers a big set of operators, and it is important to get comfortable with most of them. You will need them in most of your scripts, and the ones that are not well-known could provide you with additional capabilities to create even more efficient code. You can find information on the operators via Get-Help, as follows:

#clip.exe stores the retrieved data to the clipboard
#you can just paste the content into a word or text file

#Get-Help to operators in general - gives an overview
Get-Help about_Operators | clip.exe

#Get-Help about Pipelines
Get-Help about_Pipelines | clip.exe

#Get-Help to Comparison Operators
Get-Help about_Comparison_Operators | clip.exe

#Get-Help to Arithmetic Operators
Get-Help about_Arithmetic_Operators | clip.exe

#Get-Help to Logical Operators
Get-Help about_Logical_Operators | clip.exe

#Get-Help to Type Operators
Get-Help about_Type_Operators | clip.exe

#Get-Help to Split Operator
Get-Help about_Split | clip.exe

#Get-Help to Join Operator
Get-Help about_Join | clip.exe

#Get-Help to Redirection Operators
Get-Help about_Redirection | clip.exe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.196.184