Top Menu

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. Gerekli alanlar * ile işaretlenmişlerdir

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

Kapat