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:
![](https://static.packt-cdn.com/products/9781787127999/graphics/assets/6a5ada29-d655-4e28-bb64-857ebad06635.png)
The type of the input is System.String[] and the type of the output is System.TimeZoneInfo[].