As a means of a detection method Im trying to create a simple Powershell script to validate that the client cache is a specific size (10,000 MB)
$Cache = Get-WmiObject -namespace root\ccm\SoftMgmtAgent -class CacheConfig $Cache.size = 10000 My application will successfully change the client cache size to 10000 MB but the deployment fails on the detection method. The software change returned error code 0x87D00324(-2016410844). Any thoughts on how I would go about creating a detection method based on the cache size being a specific size? Thanks for the help! Mike G.

