#-------------------------------------------------
# Script: D:\PowerShellGrid_v0.4.ps1
# Version: 0.4
# Author: Stefan Stranger
# Date: 05/19/2014 21:19:49
# Description: PowerShell Grid Widget Helper Function
# Comments: With the latest OM2012 UR2 update new Dashboard Widgets have been added.
# This helper function helps with the creation of the PowerShell script code needed Grid Widget
# Links: http://blogs.technet.com/b/stefan_stranger/archive/2014/04/28/new-powershell-grid-widget-walkthrough.aspx
# Know issues:
# - First object in returned array will be used as ID property [solved]
# - If a property of an object has multiple values this will not displayed correctly [solved]
# Changes: [04-30-2014]: Added new Id Parameter. This should be an unique property of the objects
# [05-19-2014]: Added string type to all output objects
# Disclaimer:
# This example is provided “AS IS” with no warranty expressed or implied. Run at your own risk.
# **Always test in your lab first** Do this at your own risk!!
# The author will not be held responsible for any damage you incur when making these changes!
# ---------------------------------------------------