Tuesday, 7 January 2014

Increase SCCM cache size during Task Sequence using Powershell

It's well known that when deploying an image you can't increase the cache size using the switch SMSCACHESIZE as it won't work.

Here is a easy way to do it.

In the task sequence create a new Run Command Line step and type:

C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -Command "(New-Object -COM UIResource.UIResourceMgr).GetCacheInfo().TotalSize = 10240"

This will increase the cache size to 10GB.

No comments:

Post a Comment