My temporary dirty solution via SCCM's compliance piece is below... still 
hoping for some advice from the SCOM pros :)

#
#Written by Nile Gilmanov: checking hidden partition remaining space size
#06/2014
#
$ErrorActionPreference = 'SilentlyContinue'
$sys_volume = Get-Volume -FileSystemLabel "System Reserved"
if ($sys_volume) {

    $hiddenvolume = Get-Volume -FileSystemLabel "System Reserved"
    $sizer = $hiddenvolume.SizeRemaining / 1MB

        if ($sizer -gt 50)
        {
        Write-Output "Compliant"
        }
        if ($sizer -eq 0)
        {
        Write-Output "Noncomliant"
        }
}

Those Servers that don't have hidden volume will also report as Noncompliant.

Nile
-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Gilmanov, Nile
Sent: Monday, June 16, 2014 1:43 PM
To: [email protected]
Subject: [msmom] System Reserved Partion - monitoring

Guys,

I am a noob SCOM admin (forgive me)  and I am just starting to go after this 
task. I must monitor the hidden partition per 
http://wintelteams.wordpress.com/2013/11/02/what-is-the-system-reserved-partition-2/

Is that possible to monitor without mounting it? Need to make sure it's not 
full and alert if getting close to full which is 100MB max.

Thanks for any ideas/input,
Nile








Reply via email to