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

  • 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[].

主站蜘蛛池模板: 石林| 共和县| 高淳县| 报价| 鄂伦春自治旗| 阳东县| 类乌齐县| 名山县| 永康市| 色达县| 南溪县| 泰兴市| 金门县| 美姑县| 北京市| 铜梁县| 西丰县| 宁陕县| 九台市| 威海市| 龙南县| 精河县| 雷州市| 大兴区| 志丹县| 巴青县| 望谟县| 民和| 姜堰市| 大兴区| 郸城县| 苍南县| 紫云| 恩平市| 司法| 永胜县| 循化| 广宁县| 余干县| 涿州市| 安福县|