SMS_SoftwareShortcut Client WMI Class

System Center

Updated: October 28, 2009

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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;
};

The SMS_SoftwareShortcut class does not define any methods.

BinFileVersion
Data type: String

Access type: Read-only

Qualifiers: None

Reserved. For internal use.

BinProductVersion
Data type: String

Access type: Read-only

Qualifiers: None

Reserved. For internal use.

Description
Data type: String

Access type: Read-only

Qualifiers: None

File description that can be presented to users, for example, "Microsoft Word for Windows".

FilePropertiesHash
Data type: String

Access type: Read-only

Qualifiers: None

A 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: String

Access type: Read-only

Qualifiers: None

A 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: UInt32

Access type: Read-only

Qualifiers: None

Size of the file, in bytes.

FileVersion
Data type: String

Access type: Read-only

Qualifiers: None

The version of the file, for example, "12.0.4518.1014".

Language
Data type: UInt32

Access type: Read-only

Qualifiers: None

Language associated with the file, for example, "1033".

ParentName
Data type: String

Access type: Read-only

Qualifiers: None

The name of the shortcut container, for example, "Start Menu", "Quick Launch", or "Desktop".

Product
Data type: String

Access type: Read-only

Qualifiers: None

The name of the product with which the file is distributed, for example, "Microsoft Windows".

ProductCode
Data type: String

Access type: Read-only

Qualifiers: None

GUID that is the principal identifier for an application or product. For more information, see the Microsoft Windows Installer documentation.

ProductVersion
Data type: String

Access type: Read-only

Qualifiers: None

The version of the product with which the file is distributed, for example, "4.2.0.2623".

Publisher
Data type: String

Access type: Read-only

Qualifiers: None

The company that produced the file, for example, "Microsoft Corporation" or "Standard Microsystems Corporation, Inc.".

ShortcutKey
Data type: String

Access type: Read-only

Qualifiers: Key

Key for the shortcut, without the full path.

ShortcutName
Data type: String

Access type: Read-only

Qualifiers: None

Name of the shortcut, without the full path.

ShortcutType
Data type: UInt32

Access type: Read-only

Qualifiers: None

The 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: String

Access type: Read-only

Qualifiers: None

The name of the executable file that is linked to the shortcut.

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

Runtime Requirements

Development Requirements

Show: