Set-CMClientSettingWindowsAnalytics
{{ 填写 Synopsis }}
语法
Set-CMClientSettingWindowsAnalytics
[-CommercialIdKey <String>]
[-Enable <Boolean>]
[-EnableEarlierTelemetry <Boolean>]
[-IEDataCollectionOption <InternetExplorerTelemetryLevelType>]
[-Win10Telemetry <Win10TelemetryLevelType>]
-Name <String>
[-PassThru]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CMClientSettingWindowsAnalytics
[-CommercialIdKey <String>]
[-Enable <Boolean>]
[-EnableEarlierTelemetry <Boolean>]
[-IEDataCollectionOption <InternetExplorerTelemetryLevelType>]
[-Win10Telemetry <Win10TelemetryLevelType>]
[-DefaultSetting]
[-PassThru]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CMClientSettingWindowsAnalytics
[-CommercialIdKey <String>]
[-Enable <Boolean>]
[-EnableEarlierTelemetry <Boolean>]
[-IEDataCollectionOption <InternetExplorerTelemetryLevelType>]
[-Win10Telemetry <Win10TelemetryLevelType>]
-InputObject <IResultObject>
[-PassThru]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
{{ 填写说明 }}
注意
从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet,例如 PS XYZ:\>。 有关详细信息,请参阅 入门。
示例
示例 1
PS XYZ:\> {{ Add example code here }}
{{ 在此处添加示例说明 }}
参数
-CommercialIdKey
{{ Fill CommercialIdKey Description }}
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-Confirm
提示你在运行 cmdlet 之前进行确认。
| 类型: | SwitchParameter |
| 别名: | cf |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-DefaultSetting
{{ Fill DefaultSetting Description }}
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-DisableWildcardHandling
此参数将通配符视为文本字符值。 不能将其与 ForceWildcardHandling 组合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-Enable
{{ Fill Enable Description }}
| 类型: | Boolean |
| 别名: | EnableWindowsAnalyticsManagement |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-EnableEarlierTelemetry
{{ Fill EnableEarlierTelemetry Description }}
| 类型: | Boolean |
| 别名: | EnableWindows81AndEarlierTelemetry |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-ForceWildcardHandling
此参数处理通配符,并可能导致意外行为, (不建议) 。 不能将其与 DisableWildcardHandling 组合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-IEDataCollectionOption
{{ Fill IEDataCollectionOption Description }}
| 类型: | InternetExplorerTelemetryLevelType |
| 别名: | EnableWindows81AndEarlierInternetExplorerDataCollectionFor |
| 接受的值: | Disable, LocalIntranetAndTrustedSitesAndMachineLocal, InternetAndRestrictedSites, AllZones |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-InputObject
{{ Fill InputObject Description }}
| 类型: | IResultObject |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | True |
| 接受通配符: | False |
-Name
{{ 填充名称说明 }}
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-PassThru
添加此参数可返回一个对象,该对象表示正在使用的项。 默认情况下,此 cmdlet 可能不会生成任何输出。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-WhatIf
显示在 cmdlet 运行时发生的情况。 cmdlet 不会运行。
| 类型: | SwitchParameter |
| 别名: | wi |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-Win10Telemetry
{{ Fill Win10Telemetry Description }}
| 类型: | Win10TelemetryLevelType |
| 别名: | Windows10Telemetry |
| 接受的值: | Basic, EnhancedLimited, Enhanced, Full |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
输入
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
输出
System.Object