SCCM Tutorial 52- How to Create Configuration Items and Baselines in MECM

This video is about to explain How to Create Configuration Items and Baselines in SCCM. PowerShell Script used in videos. ============================= $Diskspace = get-wmiobject -class “win32_logicaldisk“ -Namespace “root\CIMV2“ $Output = foreach($Disk in $Diskspace) { if ($ -gt 0) { $Size = [math]::round($, 0) $Free = [math]::round($, 0) [PSCustomObject]@{ Drive = $ Name = $ “Total Disk Space“ = $Size “Free Disk Size“ = “{0:N0} ({1:P0})“ -f $free, ($free/$size) } } } $Output
Back to Top