官术网_书友最值得收藏!

  • PowerShell for Office 365
  • Martin Machado Prashant G Bhoyar
  • 96字
  • 2021-07-02 18:50:39

How PowerShell is an object-oriented language and how to work with objects

PowerShell works with objects, and these objects can have attributes and methods. An attribute is a property or a description. PowerShell is an object-oriented scripting language; however, moderately complex scripts are often written using a procedural/functional approach.

To get the members of any cmdlet, we can pipe the Get-Member cmdlet with any given cmdlet:

Get-TimeZone | Get-Member

The output of the preceding command is shown in the following screenshot:

The type of the input is System.String[] and the type of the output is System.TimeZoneInfo[].

主站蜘蛛池模板: 当阳市| 惠州市| 襄垣县| 精河县| 周至县| 黑山县| 永吉县| 河北区| 探索| 剑河县| 泗水县| 梅河口市| 南投县| 临澧县| 汪清县| 兴业县| 丰县| 保德县| 临潭县| 保康县| 保亭| 壤塘县| 蛟河市| 沅江市| 湘西| 固镇县| 贺兰县| 桓台县| 奇台县| 宜兰县| 光泽县| 合川市| 于田县| 奉贤区| 五指山市| 囊谦县| 桃园市| 石泉县| 阿坝| 德钦县| 工布江达县|