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

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

主站蜘蛛池模板: 重庆市| 永寿县| 商丘市| 临桂县| 铅山县| 体育| 会同县| 宁晋县| 光山县| 八宿县| 周口市| 夹江县| 穆棱市| 德阳市| 科技| 泸溪县| 高要市| 南京市| 三台县| 余庆县| 台中市| 越西县| 阜平县| 绿春县| 襄汾县| 阿拉善右旗| 苏尼特右旗| 雷州市| 顺义区| 乐业县| 白河县| 泽普县| 东源县| 五河县| 遂昌县| 仲巴县| 桐梓县| 漳平市| 阳曲县| 陕西省| 获嘉县|