Win32_InstalledProgramFramework

Win32 Installed Program Framework
root/cimv2key : FrameworkNamekey : FrameworkPublisherkey : FrameworkVersionkey : FrameworkVersionActualkey : ProgramId

The Win32_InstalledProgramFramework class represents a technology framework that a Win32_InstalledWin32Program instance is compiled against or uses at runtime.

On this page

Main example

List instances

# All instances of Win32_InstalledProgramFramework, with the main properties
Get-CimInstance -ClassName Win32_InstalledProgramFramework |
    Select-Object -Property @(
        'FrameworkName'
        'FrameworkPublisher'
        'FrameworkVersion'
        'FrameworkVersionActual'
    )

Examples

Filter with WQL

# WQL filter evaluated by the provider: only the instances where IsPrivate is TRUE
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Filter 'IsPrivate = TRUE' |
    Select-Object -Property @(
        'FrameworkName'
        'FrameworkPublisher'
        'FrameworkVersion'
        'FrameworkVersionActual'
    )

The filter is evaluated by the WMI provider: less data is transferred than with Where-Object.

Query a remote computer (CIM session)

review before running
# Name of the remote computer
$computerName = 'SERVER01'
# The CIM session (WSMan by default) can be reused for several queries
$cimSession = New-CimSession -ComputerName $computerName
try {
    Get-CimInstance -CimSession $cimSession -ClassName Win32_InstalledProgramFramework |
        Select-Object -Property @(
            'FrameworkName'
            'FrameworkPublisher'
            'FrameworkVersion'
            'FrameworkVersionActual'
        )
} finally {
    Remove-CimSession -CimSession $cimSession
}

WSMan (WinRM) is used by default. For a host without WinRM, create the session with -SessionOption (New-CimSessionOption -Protocol Dcom). Add -Credential to use another account.

Show the class structure

# Class structure: properties, types and flags (Key, ReadOnly…)
$cimClass = Get-CimClass -ClassName Win32_InstalledProgramFramework
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

6 of 6 properties
NameTypeAccessDescription
FrameworkName keystringread

The name of the framework that the application identified by ProgramId depends on.

Code
# Value of FrameworkName for each instance
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Property FrameworkPublisher, FrameworkName |
    Select-Object -Property FrameworkPublisher, FrameworkName
FrameworkPublisher keystringread

The publisher of the framework.

Code
# Value of FrameworkPublisher for each instance
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Property FrameworkName, FrameworkPublisher |
    Select-Object -Property FrameworkName, FrameworkPublisher
FrameworkVersion keystringread

The version of the framework that the application has a dependency on.

Code
# Value of FrameworkVersion for each instance
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Property FrameworkName, FrameworkPublisher, FrameworkVersion |
    Select-Object -Property FrameworkName, FrameworkPublisher, FrameworkVersion
FrameworkVersionActual keystringread

The version of the framework that the application actually uses at runtime, if the framework can be detected.

Code
# Value of FrameworkVersionActual for each instance
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Property FrameworkName, FrameworkPublisher, FrameworkVersionActual |
    Select-Object -Property FrameworkName, FrameworkPublisher, FrameworkVersionActual
IsPrivatebooleanread

TRUE if the application bundles a private copy of the framework.

Code
# Value of IsPrivate for each instance
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Property FrameworkName, FrameworkPublisher, IsPrivate |
    Select-Object -Property FrameworkName, FrameworkPublisher, IsPrivate
ProgramId keystringread

The unique identifier of the Win32_InstalledWin32Program instance, with which the framework data is associated.

Code
# Value of ProgramId for each instance
Get-CimInstance -ClassName Win32_InstalledProgramFramework -Property FrameworkName, FrameworkPublisher, ProgramId |
    Select-Object -Property FrameworkName, FrameworkPublisher, ProgramId

Inheritance

Superclass chain

This class has no superclass.

Known subclasses

No known subclass.

Requirements

Namespace
root/cimv2
Minimum client
Windows 7 [desktop apps only]
Minimum server
None supported
MOF file
Aeinv.mof
DLL
Root\CIMv2

Microsoft source

Source: Microsoft Learn

Descriptions, properties and methods come from the Microsoft documentation (MicrosoftDocs/win32 repository), published under the CC BY 4.0 licence. Formatting and translations are specific to this site; the PowerShell examples are written for it.