Set-CMAssetIntelligenceClass
Set-CMAssetIntelligenceClass
Modifies the Asset Intelligence hardware inventory reporting classes.
構文
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>]
詳細説明
The Set-CMAssetIntelligenceClass cmdlet modifies the Asset Intelligence hardware inventory reporting classes. The Hardware Inventory Client Agent collects inventory from Microsoft System Center 2012 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.
パラメーター
-DisableReportingClass<ClassNameType[]>
Specifies an array of Asset Intelligence reporting classes to disable. Valid values are:
-- SMS_AutoStartSoftware
-- SMS_BrowserHelperObject
-- SMS_InstalledExecutable
-- SMS_InstalledSoftware
-- SMS_SoftwareShortcut
-- SMS_SoftwareTag
-- SMS_SystemConsoleUsage
-- SMS_SystemConsoleUser
-- SoftwareLicensingProduct
-- SoftwareLicensingService
-- Win32_USBDevice
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EnableAllReportingClass
Indicates that all Asset Intelligence reporting classes are enabled.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EnableReportingClass<ClassNameType[]>
Specifies an array of Asset Intelligence reporting classes to enable. Valid values are:
-- SMS_AutoStartSoftware
-- SMS_BrowserHelperObject
-- SMS_InstalledExecutable
-- SMS_InstalledSoftware
-- SMS_SoftwareShortcut
-- SMS_SoftwareTag
-- SMS_SystemConsoleUsage
-- SMS_SystemConsoleUser
-- SoftwareLicensingProduct
-- SoftwareLicensingService
-- Win32_USBDevice
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
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