Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Stops collecting software inventory data on files.

Syntax

Undo-CMSoftwareInventory -Name <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Undo-CMSoftwareInventory -Id <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]

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.

Required?   true
Position?   named
Default value?  
Accept pipeline input?   True (ByPropertyName)
Accept wildcard characters?   false

-Name [<String[]>]

Specifies an array of names of software files.

Required?   true
Position?   named
Default value?  
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.

Required?   true
Position?   named
Default value?  
Accept pipeline input?   True (ByPropertyName)
Accept wildcard characters?   false

-Confirm [<SwitchParameter>]

Prompts you for confirmation before executing the command.

Required?   false
Position?   named
Default value?   false
Accept pipeline input?   false
Accept wildcard characters?   false

-WhatIf [<SwitchParameter>]

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

Input Type

Return Type

Notes

Examples

Example 1: Stop collecting software inventory data on a file

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

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