Skip to content

SoftwareIdentity PowerShell

Garrett Serack edited this page May 1, 2014 · 3 revisions

SoftwareIdentity class

public class SoftwareIdentity {
  public string FastPackageReference { get; set; }
  public string Source { get; internal set; }

  public string Name { get; internal set; }
  public string Version { get; internal set; }
  public string VersionScheme { get; internal set; }
  public InstallationStatus Status { get; internal set; }

  public string Summary { get; internal set; }}

A SoftwareIdentity object represents a package or piece of software.

Property Purpose
FastPackageReference an opaque string (not exposed to the user) that is used to round-trip references to a specific package so that the package provider can quickly find the same package from a previous call.
Source Either the name of the package source or the Location if the source is not a registered source
Name the name of the package
Version the version of the package
VersionScheme the 'type' of version. Examples : semver, alphanumeric, multipartnumeric, etc.
InstallationStatus the status of the object (see [[InstallationStatus enum
Summary a textual description of the package