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

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

主站蜘蛛池模板: 崇义县| 射阳县| 湟中县| 玛沁县| 济南市| 威信县| 灯塔市| 囊谦县| 托克托县| 黔江区| 蚌埠市| 增城市| 三穗县| 迁西县| 鄢陵县| 金塔县| 三门县| 如东县| 钦州市| 陇川县| 昌平区| 芦溪县| 盘山县| 武安市| 游戏| 和林格尔县| 安阳县| 郸城县| 永春县| 池州市| 江川县| 崇仁县| 康乐县| 绥滨县| 成安县| 灵川县| 仙桃市| 顺义区| 新野县| 措勤县| 阳泉市|