Delete ccmcache used space

Hi All
I have a question regarding client cache removal using a powershell script calling a com object
My C drive contains 18 GB free space
Total CCM Cache in c:\windows\ccmcache size is 10240
Free Space = 8713  and used space = 1527
I used the following powershell script to remove used space by using DeleteCacheElement function
Though all folders were removed in cache but I still see used space even after using the script
May I know the reason and how to delete the used space
$UIResourceMgr = New-Object -ComObject UIResource.UIResourceMgr
$Cache = $UIResourceMgr.GetCacheInfo()
$CacheElements = $Cache.GetCacheElements()
foreach ($Element in $CacheElements)
        Write-Host "Deleting CacheElement with PackageID $($Element.ContentID)"
        Write-Host "in folder location $($Element.Location)"
 If (!(Test-Path $($Element.Location)))
   md $($Element.Location)
       $Cache.DeleteCacheElement($Element.CacheElementID)
$Cache = $UIResourceMgr.GetCacheInfo()
Write-Host "The total Cache size = $($Cache.TotalSize)"
Write-Host "The total Cache free size after execution of script= $($Cache.FreeSize)"
Write-Host "The total Cache used size after execution of script = $(($Cache.TotalSize) -($Cache.FreeSize))"

Though all folders were removed in cache but I still see used space even after using the script
How? Are you talking about this line of the script? Write-Host "The total Cache free size after
execution of script= $($Cache.FreeSize)"
Torsten Meringer | http://www.mssccmfaq.de

Similar Messages

  • Deleted events in iMovie 10 does not reduce used space on hard drive

    The used space on my hard drive doesn't   reduce  when I delete  big  footage (events) in iMovie 10.0.1. The deleted events were not moved to system garbage like in iMovie 11.
    Any exlanation for that?

    It depends on how you migrated from iMovie 11. When you convert your Events and Projects from iMovie 11, you have the option to keep your iMovie 11 Events and Projects. If you do, the iMovie 10 Events are created by using Hard Links to the files. This means that iMovie 11 and iMovie 10 both can point to the same file. Therefore, it does not take up any more space to have events for both iMovie 10 and 11. On the other hand, If you delete an Event from iMovie 10, but do not delete the corresponding event from iMovie 11, you do not gain any disk space back.
    Also, note that if you ever move or copy these events to another drive, the hard link will not carry over. At that point, both the events will take up space (basically doubling the space needed.)

  • Deleting recording caused used space to increase???

    Tried that, didn't work. It goes back to not showing unless it's in the recently deleted folder.

    Yes, you read that right... On my DVR I deleted a recording and the used space went from 31% full to 32% full. I double and tripple checked and there were no active recordings at the time nor were any scheduled. Anyone else ever seen this before? Also I noticed that there are shows showing on my DVR that are not showing on xtv.comcast.net or the TV mobile app. In addition the precentage of used space on the cloud access does not match the precentage on the DVR itself. I'm guessing the difference in free space between the two is due to the cloud having a larger storage quota than my DVR has? Intrestingly the TV remote app for the non-x1 platform shows the same precent used as the DVR itself. I should add I no longer use that app, just figured I'd see if it was showing the same thing as the other apps before I deleted it.

  • Deletion of extra space in ALV report output

    Hi Experts,
    I have one issue where i have to delete the extra space in the output of  ALV report.
    Please let me know the possible way... Its very urgent.
    Thanks in advance
    Siri

    Hi Siri,
    Try these following steps in your report...... i think, it will lead you to solve your problem.
    1. Give output length of alv column as 10.
    2. OUTPUTLEN is there in Field catalogue
    3. "gt_layout TYPE lvc_s_layo" -  use this one field col_opt
    Reward if useful.
    Regards,
    Harish

  • How do i see what is using space on startup disc

    I am trying to see how much space is being used on my computer in the different areas; documents, photos, videos, etc.  To see what i can delete to free space.  Is there some way to check this?

    GrandPrespective is a free utility that is well regarded. It gives you a visual representation of disk use.
    http://www.macupdate.com/app/mac/19515/grandperspective
    Daisydisk is a shareware application that has similar functionality.
    http://www.macupdate.com/app/mac/30689/daisydisk
    You can also free up space by deleting unused binaries from your applications. XSlimmer does this for you.
    http://www.macupdate.com/app/mac/23200/xslimmer
    You can also compress your data folder and make better use of the space you have. Clusters does this for you.
    http://www.macupdate.com/app/mac/33585/clusters

  • Used Space is much higher than actual space used in the partition

    Hi All,
    I am facing space problem in oracle Linux 5.3.
    The parition /oradata is showing Used space as 379 GB when checked with df -TH command and when i go to partition and check space with du -sh command it is showing 280 GB.
    How could i reclaim the space.
    [orah@hih oracle]$ df -TH
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda3 ext3 16G 1.0G 14G 7% /
    /dev/sda4 ext3 11G 2.9G 6.8G 31% /usr
    /dev/sdb5 ext3 11G 158M 9.5G 2% /tmp
    /dev/sdb3 ext3 51G 189M 48G 1% /orasig
    /dev/sdb2 ext3 11G 277M 9.4G 3% /var
    /dev/sdb1 ext3 71G 12G 56G 17% /oracle
    /dev/sda1 ext3 104M 16M 83M 17% /boot
    tmpfs tmpfs 26G 9.6M 26G 1% /dev/shm
    /dev/sdc ext3 529G 379G 140G 74% /oradata
    /dev/sdd ext3 529G 401G 128G 76% /orabkp
    /dev/sde ext3 212G 197G 14G 94% /oraprod1
    /dev/sdf ext3 119G 73G 45G 63% /stage
    Rgds,
    Alig

    What is your output of df -h?
    -H uses powers of 1000, not 1024. Computer memory uses binary logic based on the power of 2 (2^10 = 1024, 8 * 8 * 8 * 2 = 1024)
    Anyway, df and du measure different things:
    "du" reports the space used by files and folders
    "df" reports the space used by the file system, which includes the overhead for journals and inode tables.
    If a file is open by a user and the same file is deleted then df and du will report different output.
    A reboot of the system should align df and du output more closely.

  • Why are videos using space on my phone when there are no videos on my phone?

    When I sync my phone is shows that quite a bit of space is being used by video, but there shouldn't be any videos.  How do I free up that space that is supposedly being used by "video". Thanks.

    ansbrad wrote:
    My phone keeps giving me a notification that my storage is almost full.  It looks like the photos & camera are taking up most of the space, however I only have 99 photos on the phone and photo streaming is turned off, but it still has 3.9KB used space under shared photo stream.  How do I delete this?
    1 gigabyte = 1024 megabytes.  1 megabyte = 1024 kilobytes.
    1 gigabyte = 1048576 kilobytes.
    3.9 KB is 0.38% of a MB, and 0.00037% of a GB
    If your iPhone is a 8GB model, then you are literally worrying about 0.000046% of the device's total space.
    Or, to look at it another way, an 8GB iPhone has 8,388,608 kilobytes of total space.  Are you really concerned about less than 4 KB out of 8.3 Million?
    Or... Let's say that you had $83,886.08 in your bank account.  Would you worry about trying to find the nickel that rolled under the fridge?

  • 'Miscellaneous Used Space'

    Since I have the 64gb Macbook Air, disk space is precious to me.
    Recently I have run into a problem, where whenever I delete a large file (over 1gb) Grandperspective sees it as Miscellaneous Used Space
    Most of the things I delete are TV shows I download from itunes, drag them to my external HDD and delete them (always choosing 'delete file' from itunes)
    I recently had it with a game I downloaded from the app store.
    Before i used to make a backup, download the show, drag it to my external HDD and restore my computer from Time Machine, but that took too long.
    When I 'get info' on my SSD there is 41.16gb free out of 59.81
    But on Grandperspective, there is only 36.4gb free, 3gb miscellaneous used space and 16.2gb free space
    How can I get rid of the miscellaneous used??
    And stop is from appearing in the future??

    Ditto.....
    My disk (1Tb) has about 150Gb of actual data on it.
    Finder reporting 802 GB used. Various program, Whatsize, Grandperspective etc all reporting "650 Gb of Miscellaneous used Space. Used Cache Cleaner, no difference.
    Been working on it for days, cannot find any rogue files to delete.
    Apple support said "reinstall Snow Leopard" ... "make sure you have a back up"
    The reason I don't have a back up is Time Machine (and another 3rd Party BU solution) wont work because it cant back up the HDD because it is too big!!
    Any help would be much appreciated.

  • HT204053 best storage for filies deleted but used frequently wd drop box flash drive

    best storage for filies deleted but used frequently wd drop box flash drive

    Thanks LowLuster!  With that info I have another questions if that's ok.  First, I'm sure it's formatted to fat32.  I have learned I can't transfer movies over 4gb.  I use an external hard drive for those.  The files are ones I've downloaded from YouTube in the mp4 format and are never over 1gb.  They're all mb in size. 
    I didn't realize flash drives had limited writes.  Is there any way to confirm I've reached the limit?  Both times I reformatted it I was able to add back the videos I previously had on it.  I would say there were a hundred or so. Both times I left some "growing room" on the flash drive so I could add more files.  And, both times I was able to continuing adding until I had reached the max capacity.  The problem occured after I tried deleting files to free up space.  Does this make sense with "the amount you have used it" theory?  Does it start to become buggy at that point, or does it just make writes to the drive impossible?
    Thanks

  • I need to Delete the empty space page of report

    I need to Delete the empty space page of report 
    http://imageshack.com/a/img540/191/nrOwz6.jpg
    I Need Help!!
    Thanks

    Hi yha10,
    Per my understanding that you want to add one textbox at the bottom of the tablix and make it display as the last on each page after the tablix, you have try to add the page footer but if there is little record in the report you will got some space between
    the report footer and the last row of the tablix, right?
    If you don't want to display the space and I suggest you don't use the report footer and you can take reference to the details information below to display the information as the last row of the tablix on each page:
    Right click the Details in the Row Group and select to Add Group-->Parent Group:
    and add this expression in the Group By:
    =Ceiling(RowNumber(Nothing)/10)
    (10 is the number of rows you want to display on each page)
    Right click the row group to select the "Group Properties" and add page break by check the "Between each instance of a group":
    Right click the first column which the Group located and select the Insert Row-Inside Group-Below:
    Select the Entire Column1(Group) and delete columns:
    Merge the entire last Row and type the information "I need to show on all the page" in it:
    If you still have nay problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to find out the used space and free space in the DB for attachments

    Hi,
    In CRM 5.2 web UI, we can save a transaction by saving attachments like work documents or text files.
    Could someone help me find out the used space, free space, maximum capacity on the CRM DB for these attachments.
    Thanks & Best Regards,
    Ramesh.

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • How to get all GroupSpaces name using Spaces API, irrespective of user logged in?

    Hi
    Can anyone please tell me, how to retrieve list of all group spaces using Spaces API. I have used this method getGroupSpaces(null) to retrieve all group spaces, however it returns only the logged in members groups.
    Is there any way to get all groupspaces details?
    Regards
    Raj

    i don't think so other than admin user can get all group spaces informaiton, is it possible in webcenter portal:spaces default deployment?

  • I accidently unplugged my iPod before ejecting it and now all my music is gone. Although it says that there is used space. I have music on a few different computers and not all backed up on one computer. Help! How do I get my music back?

    I accidentally unplugged my iPod before ejecting it, which has never been a problem before. But today it says theres no music on it even though it says there's used space. I don't have my iPod backed up and my music is on several different computers. Help!! How do I get my music back?

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    Note that some of these utilities and method require a fully functional iPod and software.
    B-rock

  • Is there any reason not to use spaces in document file names anymore in a document library?

    We are revamping our sharepoint document library file naming conventions. In lots of blogs and tutorials, I have seen over and over the recommendation to use underscores instead of spaces in document file names in sharepoint. Part of this is I think to prevent
    the infamous %20 in URLs pointing to the documents. That doesn't really concern us and we don't generally have file names that approach 256 characters.  We don't want to go the route of having different document names than document titles so we want our
    document names to be a clear and readable as possible. We think that using spaces (and occasionally dashes) in the file names makes them more readable, and sharepoint 2010 seems to be able to search these file name correctly.  An example document file
    name would be "elephants - how to clean elephant cages".
    Has anyone run into a reason to avoid using spaces and dashes in document file names in sharepoint 2010? I don't want to start using spaces and then be sorry I did down the road. Thanks!

    It isn't going to lead to the fall of western civilisation.
    You will get longer and messier URLs for documents but it's very unlikely to cause issues. There have been some bugs in the past where hyphens in particular can be mis-encoded in searches but they only affect a small range of build numbers if memory serves.
    I much prefer using no spaces for document libraries as it makes the starting URLs so much cleaner but that's a style question. For documents unless you've got a very strict document naming standard spaces are common and dashes aren't uncommon.

  • Used space, nothing stored in my ipod mini

    I had to reset my mini, so it would show up on my computer...now when I try to update, it says there are 3 GB of used space, but nothing in my library or on the ipod. What did I do wrong?

    Heather,
    I don't think you did anything wrong, it's just one of those odd software glitches that crop up from time to time.
    Restoring the iPod to factory settings should cure it.

Maybe you are looking for

  • Interactive PDF stopped working after upgrade to Safari 7.1 (i.e. all Mavericks users), Suggestions?

    We have a set of interactive PDF forms that our users access via the web.  We have to use the PDF forms online because they are configured to pre-fill basic information that is acquired from our database/information system, which our users can only a

  • How can I change the sequence of songs in my iTunes library and playlists?

    I find that I cannot alter the sequence of songs iniTunes library, nor in 'My Playlist'. Having dragged an item to place between two others, it goes back to where it was. I am probably asking 'Help' the wrong question, but I cannot find the right ans

  • Need all fonts embedded in my PDF.

    I converted a word document to pdf through pdf pack. How can I get the following fonts embedded in my pdf: arial MT, arial MT bold, and arial MT italic? Thanks.

  • Adobe Air and Content Viewer on Kindle Fire

    How do I install/use Adobe Air on my Kindle Fire?  I have it installed on my PC and have tried to install it on my fire using a USB.  It seems as if it works but when I look on the Kindle Fire it's not there. Also - how do you use Content Viewer on t

  • My Adobe Acrobat Pro is not working.

    My Adobe Acrobat Pro was working; however, today, I can not get it to come up.  When I tried to convert a PPT to a PDF, it says it is not registered.  I looked for the App to reinstall in the AAM and it is no longer there.   That is why I joined the