Capture file size in Kace WMI Bloat issues.
I would like to use Kace to capture the size of this file located in C:\windows\system32\wbem\repository\object.data
I have a Custom Inventory Rule below.
FileInfoReturn(C:\Windows\System32\wbem\Repository, Objects.Data, Number) , but it does not capture the data i hoping for.
This file after imaging is around 50MB. Anything over 200MB is usually suspect and if over 500MB boot time is often slow. Is this the correct command to capture the size of this file in Kace?
Thanks in Advance.
0 Comments
[ + ] Show comments
Answers (4)
Answer Summary:
Please log in to answer
Posted by:
SMal.tmcc
9 years ago
Posted by:
SMal.tmcc
9 years ago
Top Answer
If you come to the Dell World Kace conference this fall in Austin you owe me a beer for this one.
shellcommandtextreturn(@echo off & FOR /f "tokens=2 delims==" %g IN ('c:\windows\system32\wbem\WMIC.exe datafile where "name='C:\\windows\\system32\\wbem\\repository\\objects.data'" get filesize /value') DO @echo %g)
Comments:
-
You are too awesome! Im not sure if i will be able to go to Dell World, but if you are ever in Seattle, let me know. Thanks a bunch. This is going to be very helpful for my team to gauge the health of our computers. - ctrakarn 9 years ago
-
I have friends in Federal Way and Bellevue that we visit usually around Thanksgiving, I will let you know when I am up in the area, send me your email smal.tmcc@gmail.com - SMal.tmcc 9 years ago
Posted by:
SMal.tmcc
9 years ago