OfflineFilesMachineConfiguration - WMI sample in VBScript
The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).
ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.
On this site, you can find many WMI samples.
The OfflineFilesMachineConfiguration WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
OfflineFilesMachineConfiguration
Example(s)
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_OfflineFilesMachineConfiguration") For Each objItem in colItems WScript.Echo "BackgroundSyncEnabled:" & objItem.BackgroundSyncEnabled WScript.Echo "BackgroundSyncParams:" & objItem.BackgroundSyncParams WScript.Echo "DiskSpaceLimitEnabled:" & objItem.DiskSpaceLimitEnabled WScript.Echo "DiskSpaceLimitParams:" & objItem.DiskSpaceLimitParams WScript.Echo "EconomicalAdminPinningEnabled:" & objItem.EconomicalAdminPinningEnabled WScript.Echo "Enabled:" & objItem.Enabled WScript.Echo "ExcludedFileTypes:" & objItem.ExcludedFileTypes WScript.Echo "IsConfiguredByWMI:" & objItem.IsConfiguredByWMI WScript.Echo "MakeAvailableOfflineButtonRemoved:" & objItem.MakeAvailableOfflineButtonRemoved WScript.Echo "OfflineFilesCacheEncrypted:" & objItem.OfflineFilesCacheEncrypted WScript.Echo "SlowLinkEnabled:" & objItem.SlowLinkEnabled WScript.Echo "SlowLinkParams:" & objItem.SlowLinkParams WScript.Echo "SyncOnCostedNetworkEnabled:" & objItem.SyncOnCostedNetworkEnabled WScript.Echo "TransparentCachingLatencyThreshold:" & objItem.TransparentCachingLatencyThreshold WScript.Echo "WorkOfflineButtonRemoved:" & objItem.WorkOfflineButtonRemoved WScript.Echo "" WScript.Echo "########" WScript.Echo "" Next