I’m currently watching an cool video of PoshBoard a PowerShell based Web Portal by Pilosite available on CodePlex . It looks great. In the middle of the video I noticed the following script he uses to populate one of the controls on the dashboard: $ht = @{ } $objDrives = gwmi –class “Win32_logicalDisk” –Namespace “root\cimv2” |where {$_.DriveType -eq 3 } foreach ($ObjDisk in $objDrives) { $size =
Read More...
Read the complete post at http://blogs.msdn.com/powershell/archive/2008/11/23/poshboard-and-convertto-hashtable.aspx
Posted
Nov 23 2008, 12:41 PM
by
Windows PowerShell Blog