The SMS_SoftwareShortcut class is a client Windows Management Instrumentation (WMI) class, in Configuration Manager, that defines a shortcut to executable files or a shortcut in a common system location.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_SoftwareShortcut
{
	String BinFileVersion;
	String BinProductVersion;
	String Description;
	String FilePropertiesHash;
	String FilePropertiesHashEx;
	UInt32 FileSize;
	String FileVersion;
	UInt32 Language;
	String ParentName;
	String Product;
	String ProductCode;
	String ProductVersion;
	String Publisher;
	String ShortcutKey;
	String ShortcutName;
	UInt32 ShortcutType;
	String TargetExecutable;
};

Methods

The SMS_SoftwareShortcut class does not define any methods.

Properties

BinFileVersion

Data type: StringAccess type: Read-onlyQualifiers: NoneReserved. For internal use.
BinProductVersion

Data type: StringAccess type: Read-onlyQualifiers: NoneReserved. For internal use.
Description

Data type: StringAccess type: Read-onlyQualifiers: NoneFile description that can be presented to users, for example, "Microsoft Word for Windows".
FilePropertiesHash

Data type: StringAccess type: Read-onlyQualifiers: NoneA unique 128-bit signature that is derived from a combination of the Product, Description, ProductVersion, Publisher, and FileName properties of the file.
FilePropertiesHashEx

Data type: StringAccess type: Read-onlyQualifiers: NoneA unique 128-bit signature that is derived from a combination of the Product, Description, ProductVersion, Publisher, FileName, FileVersion, BinProductVersion, and BinFileVersion properties of the file.
FileSize

Data type: UInt32Access type: Read-onlyQualifiers: NoneSize of the file, in bytes.
FileVersion

Data type: StringAccess type: Read-onlyQualifiers: NoneThe version of the file, for example, "12.0.4518.1014".
Language

Data type: UInt32Access type: Read-onlyQualifiers: NoneLanguage associated with the file, for example, "1033".
ParentName

Data type: StringAccess type: Read-onlyQualifiers: NoneThe name of the shortcut container, for example, "Start Menu", "Quick Launch", or "Desktop".
Product

Data type: StringAccess type: Read-onlyQualifiers: NoneThe name of the product with which the file is distributed, for example, "Microsoft Windows".
ProductCode

Data type: StringAccess type: Read-onlyQualifiers: NoneGUID that is the principal identifier for an application or product. For more information, see the Microsoft Windows Installer documentation.
ProductVersion

Data type: StringAccess type: Read-onlyQualifiers: NoneThe version of the product with which the file is distributed, for example, "4.2.0.2623".
Publisher

Data type: StringAccess type: Read-onlyQualifiers: NoneThe company that produced the file, for example, "Microsoft Corporation" or "Standard Microsystems Corporation, Inc.".
ShortcutKey

Data type: StringAccess type: Read-onlyQualifiers: KeyKey for the shortcut, without the full path.
ShortcutName

Data type: StringAccess type: Read-onlyQualifiers: NoneName of the shortcut, without the full path.
ShortcutType

Data type: UInt32Access type: Read-onlyQualifiers: NoneThe type of shortcut. Possible values are:

1

Shortcut to Folder

2

Shortcut to File (EXE or DLL)

3

Application Reference (.appref-ms)

TargetExecutable

Data type: StringAccess type: Read-onlyQualifiers: NoneThe name of the executable file that is linked to the shortcut.

Remarks

Note
This class is not currently used to support existing Asset Intelligence reports. However, it can be enabled to support custom reports.

Requirements

Runtime Requirements

Development Requirements

See Also