Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.16 KB

File metadata and controls

56 lines (40 loc) · 2.16 KB
description Learn how to use Configuration Manager GetImageProperties Windows Management Instrumentation (WMI) class method to read all metadata from the specified.wim source file to an XML string.
title GetImageProperties Method
ms.date 09/20/2016
ms.subservice sdk
ms.topic reference
ms.collection tier3

GetImageProperties Method in Class SMS_OperatingSystemInstallPackage

The GetImageProperties Windows Management Instrumentation (WMI) class method, in Configuration Manager, reads all metadata from the specified .wim source file to an XML string.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

SInt32 GetImageProperties(
      String SourceImagePath,
      String ImageProperty
);

Parameters

SourceImagePath Data type: String

Qualifiers: [in]

The path to the source file to query for metadata.

ImageProperty Data type: String

Qualifiers: [out]

The XML string defining the metadata.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.

Remarks

This method accesses the source .wim file metadata by using the ImageProperty property of SMS_OperatingSystemInstallPackage Server WMI Class.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

SMS_OperatingSystemInstallPackage Server WMI Class ReloadImageProperties Method in Class SMS_OperatingSystemInstallPackage