Set-CMAssetIntelligenceClass
Modifies the Asset Intelligence hardware inventory reporting classes.
Syntax
SetByAllReportClass (Default)
Set-CMAssetIntelligenceClass
[-EnableAllReportingClass]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
SetBySelectReportClass
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.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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
Parameter properties
Type: | ClassNameType[] |
Default value: | None |
Accepted values: | SMS_AutoStartSoftware, SMS_BrowserHelperObject, SMS_InstalledExecutable, SMS_InstalledSoftware, SMS_SoftwareShortcut, SMS_SystemConsoleUsage, SMS_SystemConsoleUser, SoftwareLicensingProduct, SoftwareLicensingService, Win32_USBDevice, SMS_SoftwareTag |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SetBySelectReportClass
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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 |
-EnableAllReportingClass
Indicates that all Asset Intelligence reporting classes are enabled.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SetByAllReportClass
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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
Parameter properties
Type: | ClassNameType[] |
Default value: | None |
Accepted values: | SMS_AutoStartSoftware, SMS_BrowserHelperObject, SMS_InstalledExecutable, SMS_InstalledSoftware, SMS_SoftwareShortcut, SMS_SystemConsoleUsage, SMS_SystemConsoleUser, SoftwareLicensingProduct, SoftwareLicensingService, Win32_USBDevice, SMS_SoftwareTag |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SetBySelectReportClass
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 |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
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.