Set-CMAssetIntelligenceClass

Modifies the Asset Intelligence hardware inventory reporting classes.

Syntax

Set-CMAssetIntelligenceClass
   [-EnableAllReportingClass]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMAssetIntelligenceClass
   [-DisableReportingClass <ClassNameType[]>]
   [-EnableReportingClass <ClassNameType[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMAssetIntelligenceClass cmdlet modifies the Asset Intelligence hardware inventory reporting classes. The Hardware Inventory Client Agent collects inventory from Configuration Manager clients based on the Asset Intelligence hardware inventory reporting classes that you enable.

You can modify the categorization information, which includes product name, vendor, software category, and software family, for inventoried software only at the top-level site in your hierarchy. After you modify the categorization information for predefined software, the validation state for the software changes from Validated to User Defined.

Note

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

Examples

Example 1: Change the Asset Intelligence hardware inventory reporting classes

PS XYZ:\> Set-CMAssetIntelligenceClass -EnableReportingClassName SMS_InstalledExecutable -DisableReportingClassName MS_InstalledSoftware

This command enables the reporting class named SMS_InstalledExecutable and disables the reporting class named MS_InstalledSoftware.

Example 2: Enable all Asset Intelligence hardware inventory reporting classes

PS XYZ:\> Set-CMAssetIntelligenceClass -EnableAllReportingClass

This command enables all the Asset Intelligence hardware inventory reporting classes.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableReportingClass

Specifies an array of Asset Intelligence reporting classes to disable. The acceptable values for this parameter are:

  • SMS_AutoStartSoftware
  • SMS_BrowserHelperObject
  • SMS_InstalledExecutable
  • SMS_InstalledSoftware
  • SMS_SoftwareShortcut
  • SMS_SoftwareTag
  • SMS_SystemConsoleUsage
  • SMS_SystemConsoleUser
  • SoftwareLicensingProduct
  • SoftwareLicensingService
  • Win32_USBDevice
Type:ClassNameType[]
Accepted values:SMS_AutoStartSoftware, SMS_BrowserHelperObject, SMS_InstalledExecutable, SMS_InstalledSoftware, SMS_SoftwareShortcut, SMS_SystemConsoleUsage, SMS_SystemConsoleUser, SoftwareLicensingProduct, SoftwareLicensingService, Win32_USBDevice, SMS_SoftwareTag
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnableAllReportingClass

Indicates that all Asset Intelligence reporting classes are enabled.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EnableReportingClass

Specifies an array of Asset Intelligence reporting classes to enable. The acceptable values for this parameter are:

  • SMS_AutoStartSoftware
  • SMS_BrowserHelperObject
  • SMS_InstalledExecutable
  • SMS_InstalledSoftware
  • SMS_SoftwareShortcut
  • SMS_SoftwareTag
  • SMS_SystemConsoleUsage
  • SMS_SystemConsoleUser
  • SoftwareLicensingProduct
  • SoftwareLicensingService
  • Win32_USBDevice
Type:ClassNameType[]
Accepted values:SMS_AutoStartSoftware, SMS_BrowserHelperObject, SMS_InstalledExecutable, SMS_InstalledSoftware, SMS_SoftwareShortcut, SMS_SystemConsoleUsage, SMS_SystemConsoleUser, SoftwareLicensingProduct, SoftwareLicensingService, Win32_USBDevice, SMS_SoftwareTag
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object