Is it possible to retrieve extended properties in a script?

There's example code here: Scripts (JS & VBS) Snippet: Enumerating files and metadata tags