- 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[].
推薦閱讀
- 程序員修煉之道:程序設計入門30講
- Android 9 Development Cookbook(Third Edition)
- Java深入解析:透析Java本質的36個話題
- SSM輕量級框架應用實戰
- 深入分布式緩存:從原理到實踐
- Oracle GoldenGate 12c Implementer's Guide
- JBoss:Developer's Guide
- 分布式數據庫原理、架構與實踐
- 深入理解BootLoader
- Moodle 3 Administration(Third Edition)
- 進入IT企業必讀的324個Java面試題
- Mastering Apache Camel
- Mastering PowerCLI
- Oracle Database XE 11gR2 Jump Start Guide
- 企業級Java現代化:寫給開發者的云原生簡明指南