Set-CMAssetIntelligenceClass

Modifies the Asset Intelligence hardware inventory reporting classes.

Syntax

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

Description

The Set-CMAssetIntelligenceClass cmdlet modifies the Asset Intelligence hardware inventory reporting classes. The Hardware Inventory Client Agent collects inventory from Microsoft System Center 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.

Examples

Example 1: Change the Asset Intelligence hardware inventory reporting classes

PS C:\> 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 C:\> Set-CMAssetIntelligenceClass -EnableAllReportingClass

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

Required Parameters

-EnableAllReportingClass

Indicates that all Asset Intelligence reporting classes are enabled.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value: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[]
Parameter Sets:SMS_AutoStartSoftware, SMS_BrowserHelperObject, SMS_InstalledExecutable, SMS_InstalledSoftware, SMS_SoftwareShortcut, SMS_SystemConsoleUsage, SMS_SystemConsoleUser, SoftwareLicensingProduct, SoftwareLicensingService, Win32_USBDevice, SMS_SoftwareTag
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
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[]
Parameter Sets:SMS_AutoStartSoftware, SMS_BrowserHelperObject, SMS_InstalledExecutable, SMS_InstalledSoftware, SMS_SoftwareShortcut, SMS_SystemConsoleUsage, SMS_SystemConsoleUser, SoftwareLicensingProduct, SoftwareLicensingService, Win32_USBDevice, SMS_SoftwareTag
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

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

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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