PowerShell “Period” operator, what does it do?

后端 未结 3 1000
太阳男子
太阳男子 2021-01-29 03:43

I\'ve been looking online for a specific answer to better help me understand how this works. In PHP we use the \" . \" to concatenate strings. However in powershell I see things

3条回答
  •  忘掉有多难
    2021-01-29 04:03

    Powershell has very good help files included that can answer many questions.

    See:

    get-help about_operators
    

    and you will find that the dot is used as both a Property dereferencing operator and a scope operator, with explanations of the use of each.

    Can also see this under about_operators on TechNet

提交回复
热议问题