Hello, i want that app-v 5 packages that are not used anymore being cleaned up from my cache without clearing the whole cache.
i know this must be possible with powershell, im am just a newbie with powershell, could somebody help me?
i was thinking te following must be possible for powershell.
first check if the content share is reachable (test-connection), if not stop script.
then (get-appvclientpackage) and use the path value to test if the file is still there on the content share (test-path), it should return "True" or "False"
when the result is "False" then remove that specific package (remove-appvclientpackage), if the result is "True" do nothing.
i think for somebody with powershell knowledge this should not be to hard to create a script to do this.
please help.
if you need more information, i will provide it.
Thanks in advance,
Johnny Bos
the result from get-appvclientpackage is for example
PackageId : 37cf1ec2-faab-4e03-aa63-79a6e2b84ae7
VersionId : 5238b914-7327-465d-935c-fe0cbf559158
Name : Microsoft Office 15 ProPlusVolume_VisioProVolume_ProjectProVolume_en-us_x64
Version : 0.0.0.0
Path :\\servername\Content\office 2013\ProPlusVolume_VisioProVolume_ProjectProVolume_en-us_x64.appv
IsPublishedToUser : True
UserPending : False
IsPublishedGlobally : False
GlobalPending : False
InUse : False
InUseByCurrentUser : False
PackageSize : 2839157873
PercentLoaded : 100
IsLoading : False
HasAssetIntelligence : True