Edit

Share via


Get-CMDuplicateHardwareIdGuid

View duplicate hardware identifiers by GUID.

Syntax

SearchByName (Default)

Get-CMDuplicateHardwareIdGuid
    [-DisableWildcardHandling]
    [-ForceWildcardHandling]
    [<CommonParameters>]

SearchByIdMandatory

Get-CMDuplicateHardwareIdGuid
    -Id <String>
    [-DisableWildcardHandling]
    [-ForceWildcardHandling]
    [<CommonParameters>]

Description

Use this cmdlet to view duplicate hardware identifiers by GUID. Configuration Manager ignores these GUIDs for PXE boot and client registration. For more information, see Manage duplicate hardware identifiers.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: View all GUIDs

This example displays all duplicate hardware GUIDs from the site.

Get-CMDuplicateHardwareIdGuid | Select-Object SMBIOS_GUID

Example 2: Test for a specific GUID

The following example script checks if a specific GUID is found, and then writes a message based on the result.

$guid = "AB83D231-8C12-9413-FEBA-C0F9888B9290"

if ( Get-CMDuplicateHardwareIdGuid -Id $guid ) {
  Write-Host $guid "exists in the site"
} else {
  Write-Host $guid "doesn't exist!"
}

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

Specify a duplicate hardware ID. The format of this value is a standard GUID, for example, "feff51c2-9266-4da7-adec-4252c56a1713".

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:DuplicateId, DuplicateHardwareId

Parameter sets

SearchByIdMandatory
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

IResultObject

IResultObject

Notes

This cmdlet returns the SMS_CommonSmbiosGuids WMI class object.