What does the period '.' operator do in powershell?

后端 未结 4 985
梦谈多话
梦谈多话 2020-12-28 13:46

This is a weird one. Normally when I execute an external command from powershell I use the & operator like this:

& somecommand.exe -p so         


        
4条回答
  •  情歌与酒
    2020-12-28 14:35

    .Period or .full stop for an objects properties; like

    $CompSys.TotalPhysicalMemory
    

    See here: http://www.computerperformance.co.uk/powershell/powershell_syntax.htm#Operators_

提交回复
热议问题