Set-CMAssetIntelligenceClass
Set-CMAssetIntelligenceClass
Modifies the Asset Intelligence hardware inventory reporting classes.
Syntax
Parameter Set: SetByAllReportClass
Set-CMAssetIntelligenceClass -EnableAllReportingClass [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetBySelectReportClass
Set-CMAssetIntelligenceClass [-DisableReportingClass {SMS_AutoStartSoftware | SMS_BrowserHelperObject | SMS_InstalledExecutable | SMS_InstalledSoftware | SMS_SoftwareShortcut | SMS_SoftwareTag | SMS_SystemConsoleUsage | SMS_SystemConsoleUser | SoftwareLicensingProduct | SoftwareLicensingService | Win32_USBDevice}[] ] [-EnableReportingClass {SMS_AutoStartSoftware | SMS_BrowserHelperObject | SMS_InstalledExecutable | SMS_InstalledSoftware | SMS_SoftwareShortcut | SMS_SoftwareTag | SMS_SystemConsoleUsage | SMS_SystemConsoleUser | SoftwareLicensingProduct | SoftwareLicensingService | Win32_USBDevice}[] ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-CMAssetIntelligenceClass cmdlet modifies the Asset Intelligence hardware inventory reporting classes. The Hardware Inventory Client Agent collects inventory from Microsoft System Center 2012 SP1 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.
Parameters
-DisableReportingClass<ClassNameType[]>
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
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-EnableAllReportingClass
Indicates that all Asset Intelligence reporting classes are enabled.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-EnableReportingClass<ClassNameType[]>
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
Aliases |
none |
Required? |
false |
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: Change the Asset Intelligence hardware inventory reporting classes
This command enables the reporting class named SMS_InstalledExecutable and disables the reporting class named MS_InstalledSoftware.
PS C:\> Set-CMAssetIntelligenceClass -EnableReportingClassName SMS_InstalledExecutable -DisableReportingClassName MS_InstalledSoftware
Example 2: Enable all Asset Intelligence hardware inventory reporting classes
This command enables all the Asset Intelligence hardware inventory reporting classes.
PS C:\> Set-CMAssetIntelligenceClass -EnableAllReportingClass