Shortcut Menu

Skip

Main Navigation

Choose your language

You are here:

ActiveXperts.com > Administration > WMI > Classes > Operating System

ActiveXperts Network Monitor ships with a large collection of WMI based PowerShell scripts and VBScript scripts to monitor and manage a network.

Use ActiveXperts Netork Monitor to monitor your virtualization servers, domains, computers and devices. It runs on a single Windows server, without agents required on the monitored systems. It has many built-in checks and also allows administrators to create custom checks using PowerShell, VBScript, WMI and SSH.


WMI Operating System Classes - Sample Code

ActiveXperts Network Monitor is an advanced and easy tool for monitoring LAN and WAN networks, network servers, workstations and TCP/IP devices. It has a large set of built-in checks, and you can add new checks by writing scripts. You can use VBScript (Windows) or RSH (UNIX) for it. VBScript checks can use WMI and ADSI. WMI is an interface to a broad range of properties of a computer/OS/application. With ADSI, you can monitor Directory Services.

Use the samples below to get used to various WMI classes, and use these classes in your own, custom ActiveXperts Network Monitor check. Each sample below can also be copied to a new file and then run from the command prompt (CSCRIPT.EXE <file>.vbs).

Overview of the Windows Management Instrumentation classes


Win32_Account
  The Win32_Account abstract WMI class contains information about user accounts and group accounts known to the Windows system. User or group names recognized by a Windows NT domain are descendents (or...
  VBScript »        
  VBScript »        
 
Win32_AccountSID
  The Win32_AccountSID association WMI class relates a security account instance with a security descriptor instance.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ACE
  The Win32_ACE abstract WMI class specifies an access control entry (ACE). An ACE grants permission to execute a restricted operation, such as writing to a file or formatting a disk. ACEs specific to W...
  VBScript »        
  VBScript »        
 
Win32_BaseService
  The Win32_BaseService abstract WMI class represents executable objects that are installed in a registry database maintained by the Service Control Manager. The executable file associated with a servic...
  VBScript »        
  VBScript »        
 
Win32_BootConfiguration
  The Win32_BootConfiguration WMI class represents the boot configuration of a Windows system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ClassicCOMApplicationClasses
  The Win32_ClassicCOMApplicationClasses WMI class can be used into your custom scripts.
      Powershell »    
      Powershell »    
 
Win32_ClassicCOMClass
  The Win32_ClassicCOMClass WMI class represents the properties of a COM component.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ClassicCOMClassSetting
  The Win32_ClassicCOMClassSetting WMI class represents the settings of a COM component.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_CodecFile
  The Win32_CodecFile WMI class represents the audio or video codec installed on the computer system. Codecs convert one media format type to another, typically a compressed format to an uncompressed fo...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_COMApplication
  The Win32_COMApplication abstract WMI class represents a COM application. In this context, a COM application is a logical grouping of COM classes.
  VBScript »        
  VBScript »        
 
Win32_COMApplicationClasses
  The Win32_COMApplicationClasses WMI class can be used into your custom scripts.
           
           
 
Win32_COMApplicationSettings
  The Win32_COMApplicationSettings WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_COMClass
  The Win32_COMClass abstract WMI class represents the properties of a Component Object Model (COM) component.
  VBScript »        
  VBScript »        
 
Win32_ComClassAutoEmulator
  The Win32_ComClassAutoEmulator WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ComponentCategory
  The Win32_ComponentCategory WMI class represents a component category. Component categories are groups of COM classes with a defined functionality set shared between them. A client using these interfa...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ComputerSystem
  The Win32_ComputerSystem WMI class represents a computer system operating in a Windows environment.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ComputerSystemEvent
  The Win32_ComputerSystemEvent WMI class can be used into your custom scripts.
           
           
 
Win32_ComputerSystemProcessor
  The Win32_ComputerSystemProcessor WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ComputerSystemProduct
  The Win32_ComputerSystemProduct WMI class represents a product. This includes software and hardware used on this computer system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ComputerSystemWindowsProductActivationSetting
  The Win32_ComputerSystemWindowsProductActivationSetting WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_COMSetting
  The Win32_COMSetting abstract WMI class represents the settings associated with a COM component or COM application.
  VBScript »        
  VBScript »        
 
Win32_DCOMApplication
  The Win32_DCOMApplication WMI class represents the properties of a DCOM application.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_DCOMApplicationSetting
  The Win32_DCOMApplicationSetting WMI class represents the settings of a DCOM application. It contains DCOM configuration options associated with the AppID key in the registry. These options are valid...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Desktop
  The Win32_Desktop WMI class represents the common characteristics of a user`s desktop. The properties of this class can be modified by the user to customize the desktop.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Directory
  The Win32_Directory WMI class represents a directory entry on a Windows computer system. Directory is a type of file that logically groups data files `contained` in it and provides path information fo...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_DirectorySpecification
  The Win32_DirectorySpecification class represents the directory layout for the product. Each instance of the class represents a directory in both the source image and the destination image. Directory...
  VBScript »   Powershell »    
  VBScript »   Powershell »    
 
Win32_DiskDrive
  The Win32_DiskDrive WMI class represents a physical disk drive as seen by a computer running the Windows operating system. Any interface to a Windows physical disk drive is a descendent (or member) of...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_DiskPartition
  The Win32_DiskPartition WMI class represents the capabilities and management capacity of a partitioned area of a physical disk on a Windows system. Example: Disk #0, Partition #1.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_DiskQuota
  The Win32_DiskQuota WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_DriverVXD
  The Win32_DriverVXD WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Environment
  The Win32_Environment WMI class represents an environment or system environment setting on a Windows computer system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Group
  The Win32_Group WMI class represents data about a group account. A group account allows access privileges to be changed for a list of users. Example: Marketing2.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LoadOrderGroup
  The Win32_LoadOrderGroup WMI class represents a group of system services that define execution dependencies. The services must be initiated in the order specified by the Load Order Group, as the servi...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalDisk
  The Win32_LogicalDisk WMI class represents a data source that resolves to an actual local storage device on a Windows system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalDiskRootDirectory
  The Win32_LogicalDiskRootDirectory WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalDiskToPartition
  The Win32_LogicalDiskToPartition WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalFileAccess
  The Win32_LogicalFileAccess WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalFileAuditing
  The Win32_LogicalFileAuditing WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalFileGroup
  The Win32_LogicalFileGroup WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalFileOwner
  The Win32_LogicalFileOwner WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalFileSecuritySetting
  The Win32_LogicalFileSecuritySetting WMI class represents security settings for a logical file.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalMemoryConfiguration
  The Win32_LogicalMemoryConfiguration WMI class represents the layout and availability of memory on a Windows system. This class is no longer supported. Use the Win32_OperatingSystem class instead.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalProgramGroup
  The Win32_LogicalProgramGroup WMI class represents a program group in a Windows system, for example, Accessories or Startup.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalProgramGroupDirectory
  The Win32_LogicalProgramGroupDirectory WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalProgramGroupItem
  The Win32_LogicalProgramGroupItem WMI class represents an element contained by a Win32_ProgramGroup instance, that is not itself another Win32_ProgramGroup instance.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalProgramGroupItemDataFile
  The Win32_LogicalProgramGroupItemDataFile WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalShareAccess
  The Win32_LogicalShareAccess WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalShareAuditing
  The Win32_LogicalShareAuditing WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_LogicalShareSecuritySetting
  The Win32_LogicalShareSecuritySetting WMI class represents security settings for a logical file.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NetworkClient
  The Win32_NetworkClient WMI class represents a network client on a Windows system. Any computer system on the network with a client relationship to the system is a descendent (or member) of this class...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NetworkConnection
  The Win32_NetworkClient WMI class represents a network client on a Windows system. Any computer system on the network with a client relationship to the system is a descendent (or member) of this class...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NetworkLoginProfile
  The Win32_NetworkLoginProfile WMI class represents the network login information of a specific user on a Windows system. This includes, but is not limited to password status, access privileges, disk q...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NetworkProtocol
  The Win32_NetworkProtocol WMI class represents a protocol and its network characteristics on a Win32 computer system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NTDomain
  The Win32_NTDomain WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NTEventlogFile
  The Win32_NTEventlogFile WMI class represents a logical file or directory of Windows NT events.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NTLogEvent
  The Win32_NTLogEvent WMI class is used to translate instances from the Windows NT event log. An application must have SeSecurityPrivilege in order to receive events from the security event log, otherw...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NTLogEventComputer
  The Win32_NTLogEventComputer WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NTLogEventLog
  The Win32_NTLogEventLog WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_NTLogEventUser
  The Win32_NTLogEventUser WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_OperatingSystem
  The Win32_OperatingSystem WMI class represents an operating system installed on a Win32 computer system. Any operating system that can be installed on a Win32 system is a descendent (or member) of thi...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_OperatingSystemAutochkSetting
  The Win32_OperatingSystemAutochkSetting WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_OperatingSystemQFE
  The Win32_OperatingSystemQFE WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_OSRecoveryConfiguration
  The Win32_OSRecoveryConfiguration WMI class represents the types of information that will be gathered from memory when the operating system fails. This includes boot failures and system crashes.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_PageFile
  The Win32_PageFile WMI class represents the file used for handling virtual memory file swapping on a Win32 system. This class has been deprecated.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_PageFileElementSetting
  The Win32_PageFileElementSetting WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_PageFileSetting
  The Win32_PageFileSetting WMI class represents the settings of a page file. Information contained within objects instantiated from this class specify the page file parameters used when the file is cre...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_PageFileUsage
  The Win32_PageFileUsage WMI class represents the file used for handling virtual memory file swapping on a Win32 system. Information contained within objects instantiated from this class specify the ru...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_PerfFormattedData_MSMQ_MSMQQueue
  The Win32_PerfFormattedData_MSMQ_MSMQQueue WMI class can be used into your custom scripts.
  VBScript »        
  VBScript »        
 
Win32_PerfFormattedData_MSMQ_MSMQService
  The Win32_PerfFormattedData_MSMQ_MSMQService WMI class can be used into your custom scripts.
  VBScript »        
  VBScript »        
 
Win32_PrivilegesStatus
  The Win32_PrivilegesStatus WMI class reports information about privileges required to complete an operation. It may be returned when an operation failed, or when a partially populated instance has bee...
  VBScript »        
  VBScript »        
 
Win32_Process
  The Win32_Process WMI class represents a sequence of events on a Windows operating system. A descendent or member of this class is a sequence that consists of an interaction of one or more processors...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ProcessStartup
  The Win32_ProcessStartup abstract WMI class represents the startup configuration of a Windows process. The class is defined as a Method Type definition, which means that it is used only for passing in...
  VBScript »        
  VBScript »        
 
Win32_ProgramGroup
  The Win32_ProgramGroup WMI class represents a program group in a Windows computer system. Examples are Accessories and Startup. This class has been deprecated in favor of the Win32_LogicalProgramGroup...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ProgramGroupOrItem
  The Win32_ProgramGroupOrItem abstract WMI class represents a logical grouping of programs on the user`s Start\Programs menu. It contains program groups and program group items.
  VBScript »        
  VBScript »        
 
Win32_QuickFixEngineering
  The Win32_QuickFixEngineering WMI class represents system-wide Quick Fix Engineering (QFE) or updates that have been applied to the current operating system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Registry
  The Win32_Registry WMI class represents the system registry on a Windows computer system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_RegistryAction
  The Win32_Service WMI class represents a service on a Windows computer system. A service application conforms to the interface rules of the Service Control Manager (SCM) and can be started by a user a...
  VBScript »   Powershell »    
  VBScript »   Powershell »    
 
Win32_Service
  The Win32_Service WMI class represents a service on a Windows computer system. A service application conforms to the interface rules of the Service Control Manager (SCM) and can be started by a user a...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Share
  The Win32_Share class represents a shared resource on a Windows system. This may be a disk drive, printer, inter-process communication, or other shareable device. For information on retrieving WMI cla...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ShortcutFile
  The Win32_ShortcutFile WMI class represent files that are shortcuts to other files, directories, and commands.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_SID
  The Win32_SID WMI class represents an arbitrary security identifier (SID). This property cannot be enumerated.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_StartupCommand
  The Win32_StartupCommand WMI class represents a command that runs automatically when a user logs onto the computer system.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_SystemAccount
  The Win32_SystemAccount WMI class represents a system account. The system account is used by the operating system and services that run under Windows NT. There are many services and processes within W...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_SystemDriver
  The Win32_SystemDriver WMI class represents the system driver for a base service.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Thread
  The Win32_Thread WMI class represents a thread of execution. While a process must have one thread of execution, the process can create other threads to execute tasks in parallel. Threads share the pro...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_ThreadStartTrace
  The Win32_ThreadStartTrace WMI class can be used into your custom scripts.
  VBScript »        
  VBScript »        
 
Win32_ThreadStopTrace
  The Win32_ThreadStopTrace WMI class can be used into your custom scripts.
  VBScript »        
  VBScript »        
 
Win32_TimeZone
  The Win32_TimeZone WMI class represents the time zone information for a Windows system. This includes changes needed for the transition to and from daylight saving time.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_Trustee
  The Win32_Trustee abstract WMI class specifies a trustee. Either a name or a SID (byte array) can be used.
  VBScript »        
  VBScript »        
 
Win32_UserAccount
  The Win32_UserAccount WMI class contains information about a user account on a Windows operating system. Note: Because both the Name and Domain are key properties, enumerating Win32_UserAccount on...
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »
 
Win32_UserDesktop
  The Win32_UserDesktop WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
  VBScript » JScript » Powershell » Python » Perl »