Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Undo-CMSoftwareInventory

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Undo-CMSoftwareInventory

Stops collecting software inventory data on files.

Syntax

Parameter Set: SearchByNameMandatory
Undo-CMSoftwareInventory -Name <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Undo-CMSoftwareInventory -Id <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Undo-CMSoftwareInventory -SoftwareInventory <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Undo-CMSoftwareInventory cmdlet stops collecting information about files that are contained on client devices.

Parameters

-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

-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

-SoftwareInventory<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

-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: Stop collecting software inventory data on a file

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


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

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.