ConfigMgr–Compliance Baseline for BranchCache on Windows 8

Here’s a ConfigMgr Compliance baseline that checks the BranchCache configuration on Windows 8 clients. With the release of Windows 8 and Server 2012 Microsoft also made available PowerShell cmdlets for BranchCache, so creating a script based configuration item in ConfigMgr becomes a pretty straight forward task.

The below Compliance Baseline checks the following 3 things.

  1. Is BranchCache Enabled
  2. Is the Service Running
  3. Is BranchCache operating in Distributed Cache mode

image

The following PowerShell commands are included within the configuration items.

$bcstat = get-bcstatus | Select-Object -Property BranchCacheIsEnabled
$($bcstat).BranchCacheIsEnabled
#True

$bcsrv = get-bcstatus | Select-Object -Property BranchCacheServiceStatus
$($bcsrv).BranchCacheServiceStatus
#Running

$bmode = get-bcstatus | Select-Object -ExpandProperty ClientConfiguration 
$($bmode).CurrentClientMode
# DistributedCache

The result is as following (when all is compliant.

 

image

Or as following when things are NOT Compliant. 

image

You can download the exported Win8-BranchCache.cab fie from here: http://sdrv.ms/GKMDyE

3 Replies to “ConfigMgr–Compliance Baseline for BranchCache on Windows 8”

  1. do you still have this available? the link to your onedrive says the file no longer exists. I do not see it on your github. –thanks!

Leave a Reply