Resolve-CMInventoriedSoftwareConflict
Resolve-CMInventoriedSoftwareConflict
Resolves a conflict in Configuration Manager software inventory information.
Syntax
Parameter Set: SearchByIdMandatory
Resolve-CMInventoriedSoftwareConflict -Id <String[]> -RevertLocalEdit <Boolean> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Resolve-CMInventoriedSoftwareConflict cmdlet resolves a conflict in Microsoft System Center 2012 SP1 Configuration Manager software inventory information.
When Configuration Manager receives updated information about software that is part of the software inventory, that information may conflict with your local settings. You can resolve a conflict by keeping your local inventory information or updating to the new information.
Parameters
-Id<String[]>
Specifies an array of IDs for conflicts in software inventory.
Aliases |
SoftwareKey |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-RevertLocalEdit<Boolean>
Indicates whether this cmdlet keeps the current inventory information for the conflict or updates that information. If this parameter is $True, the cmdlet keeps current, local information. If this parameter is $False, the cmdlet replaces conflicting information with updated information.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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: Resolve a software conflict and keep local inventory information
This command resolves a software conflict that has the specified ID. The command keeps the current, local version of the conflicting information.
PS C:\> Resolve-CMInventoriedSoftwareConflict -Id "SMS0001" -RevertLocalEdit $True