Solved

Need to query cache size of SMS Clients

Posted on 2009-07-02
1
587 Views
Last Modified: 2013-11-21
We have quite few SMS 2003 clients that have not received the updated cache policy of  2GB.   Is there a VBS script or something built into SMS that will show me cache size per client, fora given collection or system?  
0
Comment
Question by:net1994
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
JonLambert earned 250 total points
ID: 24782806
The cache info is indvidually configurable per client, with a default size you can set during the client installation.

Instead of trying to query the cache size for each client, you would be better off creating a script to set the required cache size, and advertising it to the collection.

As the UI Resource Manager is only available when there is a logon session on the client, make sure that the SMS Program is set to run with Administrative priveleges, and only when a user is logged on.



On Error Resume Next
Set oUIResManager = CreateObject("UIResource.UIResourceMgr")
Set oCache = oUIResManager.GetCacheInfo()
 
oCache.TotalSize = 2048
 
If oCache.TotalSize = 2048 Then
  wscript.quit(0)
Else
  wscript.quit(1)
End If

Open in new window

0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Desktop Protocol or RDP has become an essential tool in many offices. This article will show you how to set up an external IP to point directly to an RDP session. There are many reasons why this is beneficial but perhaps the top reason is con…
The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question