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

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

主站蜘蛛池模板: 虹口区| 郯城县| 探索| 凤翔县| 建瓯市| 伊春市| 南昌县| 武穴市| 徐闻县| 潜江市| 永福县| 高雄市| 军事| 尼玛县| 博野县| 罗定市| 攀枝花市| 新郑市| 剑川县| 唐山市| 高安市| 淮北市| 富裕县| 岳池县| 平泉县| 定边县| 富宁县| 威远县| 隆昌县| 南陵县| 上高县| 察雅县| 浪卡子县| 平罗县| 宝鸡市| 河西区| 道孚县| 边坝县| 桐梓县| 嵊州市| 图木舒克市|