Export (0) Print
Expand All
Expand Minimize

Set-CMSoftwareInventory

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Set-CMSoftwareInventory

Modifies an object that collects software inventory data on files.

Syntax

Parameter Set: SetById
Set-CMSoftwareInventory -Id <String[]> [-FamilyId <Int32> ] [-NewName <String> ] [-Publisher <String> ] [-Tag1Id <Int32> ] [-Tag2Id <Int32> ] [-Tag3Id <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByName
Set-CMSoftwareInventory -Name <String[]> [-FamilyId <Int32> ] [-NewName <String> ] [-Publisher <String> ] [-Tag1Id <Int32> ] [-Tag2Id <Int32> ] [-Tag3Id <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByValueMandatory
Set-CMSoftwareInventory -InputObject <IResultObject> [-FamilyId <Int32> ] [-NewName <String> ] [-Publisher <String> ] [-Tag1Id <Int32> ] [-Tag2Id <Int32> ] [-Tag3Id <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-CMSoftwareInventory cmdlet modifies an object that collects information about files on client devices in Microsoft System Center 2012 Configuration Manager.

Parameters

-FamilyId<Int32>

Specifies the ID of the family used to classify inventoried software in Configuration Manager.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Id<String[]>

Specifies an array of IDs of software files.


Aliases

SoftwareKey

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a CMSoftwareInventory object. To obtain a CMSoftwareInventory object, use the Get-CMSoftwareInventory cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

Specifies an array of names of software files.


Aliases

CommonName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

true

-NewName<String>

Specifies a new name for inventoried software in Configuration Manager.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Publisher<String>

Specifies the name of a software publisher in Configuration Manager.


Aliases

CommonPublisher

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Tag1Id<Int32>

Specifies the ID of a tag to classify inventoried software in Configuration Manager.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Tag2Id<Int32>

Specifies the ID of a tag to classify inventoried software in Configuration Manager.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Tag3Id<Int32>

Specifies the ID of a tag to classify inventoried software in Configuration Manager.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Set a software inventory object

This command starts collecting software inventory data on the file named MSXML 6.0 Parser.


PS C:\> Set-CMSoftwareInventory -Name "MSXML 6.0 Parser"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft