Aşağıdaki script kullanılarak Isa Server Cache’i temizlenebilir.

””””””””””””””””””””””””””””””””””””””””’ This script deletes all of the content stored in the ISA Server cache by’ deleting the cache content files stored on all the cache drives that are’ configured on the local ISA Server computer and then restarting the Firewall’ service, which creates new cache content files.””””””””””””””””””””””””””””””””””””””””Sub DeleteCacheContents()’ Create the root obect.Dim root  ‘ The FPCLib.FPC root objectSet root = CreateObject(“FPC.Root”)’Declare the other objects needed.Dim server        ‘ An FPCServer objectDim cacheDrives   ‘ An FPCCacheDrives collectionDim cacheDrive    ‘ An FPCCacheDrive objectDim fso           ‘ A file system objectSet server = root.GetContainingServer()server.StopFirewallService()Set cacheDrives = server.CacheDrivesSet fso = CreateObject(“Scripting.FileSystemObject”)For Each cacheDrive In cacheDrivescacheFilePath = CacheDrive.Name & “urlcacheDir1.cdat”fso.DeleteFile cacheFilePathNextserver.StartFirewallService()WScript.Echo “All the cache content files have been replaced by new files!”End SubDeleteCacheContents

Cevap bırakın

E-posta hesabınız yayımlanmayacak.

Bu HTML etiketleri ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

This site uses Akismet to reduce spam. Learn how your comment data is processed.