Free Space
0 Votes |
Description
Property Details
2994523 | |
Production - Fully Tested and Ready for Production | |
Free Space | |
BESC | |
free space fixed logical disk | |
sinucus on 6/3/2013 1:06:13 PM | |
sinucus on 6/4/2013 5:53:30 AM | |
10772 Views / 115 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Properties
Free Space
Period
Every Report
* Results in a true/false |
((if property "Description" of it as string contains "Local Fixed Disk" then (substring after "=" of (property "DeviceID" of it as string) & ", " & (substring after "=" of ((property "FreeSpace" of it as string)) as integer / 1024 / 1024 ) as string & "MB" ) else nothing) of select objects ("DeviceID,Description,FreeSpace from win32_logicaldisk") of wmi)
Relevance
Sharing
Social Media: |
Comments
|
|
hello mates, i am trying the same report for AIX & Linux OS ,Can any one help here. |
|
|
hello mates, i am trying the same report for AIX & Linux OS ,Can any one help here. |
|
|
This is also related: http://bigfix.me/cdb/analysis/2994527 |
|
|
I had a very similar thing occur as well. I had users report that windows was telling them that their system was running out of free space. It turned out that a program had a bug that created temp files that were many GBs, in one instance up to 40GBs. I also created this installer for that reason: http://bigfix.me/cdb/fixlet/2478 |
|
|
Nice, I needed to use this because we had a system report back "Limited Space" and it shouldn't have. We discovered that the drive had been partitioned incorrectly and that most of the space had gone to the wrong drive. This analysis reported that back. I'll be sure to use the non wmi version now. |
|
|
(name of it & " - Size: " & ((total space of it /(1024*1024*1024)) as string & " GB") & ", Used:(" & (((total space of it - free space of it)*100/(total space of it)) as string) & ") " & (((total space of it - free space of it) /(1024*1024*1024)) as string & " GB") & ", Free:(" & (((free space of it)*100/(total space of it)) as string) & ") "& ((free space of it /(1024*1024*1024)) as string & " GB")) of drives whose(exists name of it AND exists free space of it AND type of it = "DRIVE_FIXED") |
|
|
Yes, I did notice that. I created a statement to look at the free space of the system drive previously, but I think this one is more helpful since it will list all of the disks. Thanks for the ideas. |
|
|
(name of it & ", " & ((free space of it /(1024*1024)) as string & "MB")) of drives whose(exists name of it AND exists free space of it AND type of it = "DRIVE_FIXED") |
|
|
Yes, much better to use native than wmi. It does appear that your most current line produces the same output as my WMI. Thanks... The first one bombs out if you have multiple drives. |
|
|
(name of it & ", " & ((free space of it /(1024*1024)) as string & "MB")) of drives whose(exists name of it AND exists free space of it) |
|
|
The commented statement is equivalent but native and does not rely on WMI in the query which should make it faster to execute. |
|
|
(name of it & ", " & ((free space of it /(1024*1024)) as string & "MB")) of drives |