Reference for Win32_ProgramGroup
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Desktop and Environment

Description (Beschreibung):

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 class.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_ProgramGroupYesYesYesYesYes

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ProgramGroup")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation