Below is an example using the PowerShell SDK . The below has also been added to the new Microsoft Platform GuidePowerShell section.

Output example:

Hope that helps,
Barkz