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.
- Is BranchCache Enabled
- Is the Service Running
- Is BranchCache operating in Distributed Cache mode
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.
Or as following when things are NOT Compliant.
You can download the exported Win8-BranchCache.cab fie from here: http://sdrv.ms/GKMDyE
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!
Sorry, no can’t find it anymore.
It’s OK – we made a new one 🙂 https://2pintsoftware.com/configmgr-ci-branchcache/