Month: May 2011

PowerShell and rounding. Math is hard!

I had a student question regarding a function he wrote.  The function basically displayed disk info (disk size, free disk space and percent free), but we couldn’t get it to round the numbers.  In this first example, the numbers are not rounded: Function Get-DiskInfo { param ($System =”.”) $display = @{Label = “Drive” ; Expression={$_.DeviceID}},` […]

Updated SCCM Computer Startup Script

In the past I have posted a VBScript that I use to install the SCCM Client and check SCCM Client health.  The updates that I have are related to fixing broken WMI.  The script is put in a GPO as a Computer Startup Script.   ‘ NAME: SCCM_Client_Health_Check ‘ AUTHOR: Matthew Teegarden ‘ DATE : […]