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