Set-CMClientSettingComputerAgent
语法
Set-CMClientSettingComputerAgent
[-AddPortalToTrustedSiteList <Boolean>]
[-AllowPortalToHaveElevatedTrust <Boolean>]
[-BrandingTitle <String>]
[-DisableDeadlineRandom <Boolean>]
[-DisplayNewProgramNotification <Boolean>]
[-EnableHealthAttestation <Boolean>]
[-EnableThirdPartyOrchestration <EnableThirdPartyOrchestrationType>]
[-FinalReminderMins <Int32>]
[-HealthAttestationUrl <String>]
[-InitialReminderHr <Int32>]
[-InstallRestriction <InstallRestrictionType>]
[-InterimReminderHr <Int32>]
[-PortalUrl <String>]
[-PowerShellExecutionPolicy <PowerShellExecutionPolicyType>]
[-SelectWebsitePoint <ApplicationCatalogWebsitePointType>]
[-SuspendBitLocker <SuspendBitLockerType>]
[-UseNewSoftwareCenter <Boolean>]
[-UseOnPremisesHealthAttestation <Boolean>]
[-WebsitePointServerName <String>]
-Name <String>
[-PassThru]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CMClientSettingComputerAgent
[-AddPortalToTrustedSiteList <Boolean>]
[-AllowPortalToHaveElevatedTrust <Boolean>]
[-BrandingTitle <String>]
[-DisableDeadlineRandom <Boolean>]
[-DisplayNewProgramNotification <Boolean>]
[-EnableHealthAttestation <Boolean>]
[-EnableThirdPartyOrchestration <EnableThirdPartyOrchestrationType>]
[-FinalReminderMins <Int32>]
[-HealthAttestationUrl <String>]
[-InitialReminderHr <Int32>]
[-InstallRestriction <InstallRestrictionType>]
[-InterimReminderHr <Int32>]
[-PortalUrl <String>]
[-PowerShellExecutionPolicy <PowerShellExecutionPolicyType>]
[-SelectWebsitePoint <ApplicationCatalogWebsitePointType>]
[-SuspendBitLocker <SuspendBitLockerType>]
[-UseNewSoftwareCenter <Boolean>]
[-UseOnPremisesHealthAttestation <Boolean>]
[-WebsitePointServerName <String>]
[-DefaultSetting]
[-PassThru]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CMClientSettingComputerAgent
[-AddPortalToTrustedSiteList <Boolean>]
[-AllowPortalToHaveElevatedTrust <Boolean>]
[-BrandingTitle <String>]
[-DisableDeadlineRandom <Boolean>]
[-DisplayNewProgramNotification <Boolean>]
[-EnableHealthAttestation <Boolean>]
[-EnableThirdPartyOrchestration <EnableThirdPartyOrchestrationType>]
[-FinalReminderMins <Int32>]
[-HealthAttestationUrl <String>]
[-InitialReminderHr <Int32>]
[-InstallRestriction <InstallRestrictionType>]
[-InterimReminderHr <Int32>]
[-PortalUrl <String>]
[-PowerShellExecutionPolicy <PowerShellExecutionPolicyType>]
[-SelectWebsitePoint <ApplicationCatalogWebsitePointType>]
[-SuspendBitLocker <SuspendBitLockerType>]
[-UseNewSoftwareCenter <Boolean>]
[-UseOnPremisesHealthAttestation <Boolean>]
[-WebsitePointServerName <String>]
-InputObject <IResultObject>
[-PassThru]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
注意
从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet,例如 PS XYZ:\>。 有关详细信息,请参阅 入门。
示例
示例 1
PS XYZ:\>
参数
-AddPortalToTrustedSiteList
| 类型: | Boolean |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-AllowPortalToHaveElevatedTrust
| 类型: | Boolean |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-BrandingTitle
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-Confirm
提示你在运行 cmdlet 之前进行确认。
| 类型: | SwitchParameter |
| 别名: | cf |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-DefaultSetting
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-DisableDeadlineRandom
| 类型: | Boolean |
| 别名: | DisableDeadlineRandomization |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-DisableWildcardHandling
此参数将通配符视为文本字符值。 不能将其与 ForceWildcardHandling 组合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-DisplayNewProgramNotification
| 类型: | Boolean |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-EnableHealthAttestation
| 类型: | Boolean |
| 别名: | EnableHealthAttestationService |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-EnableThirdPartyOrchestration
| 类型: | EnableThirdPartyOrchestrationType |
| 接受的值: | No, Yes |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-FinalReminderMins
| 类型: | Int32 |
| 别名: | FinalReminderMinutesInterval, FinalReminderMinutes |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-ForceWildcardHandling
此参数处理通配符,并可能导致意外行为, (不建议) 。 不能将其与 DisableWildcardHandling 组合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-HealthAttestationUrl
| 类型: | String |
| 别名: | OnPremisesHealthAttestationServiceUrl |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-InitialReminderHr
| 类型: | Int32 |
| 别名: | InitialReminderHoursInterval, InitialReminderHours |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
| 类型: | IResultObject |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | True |
| 接受通配符: | False |
-InstallRestriction
| 类型: | InstallRestrictionType |
| 接受的值: | AllUsers, OnlyAdministrators, OnlyAdministratorsAndPrimaryUsers, NoUsers |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-InterimReminderHr
| 类型: | Int32 |
| 别名: | InterimReminderHoursInterval, InterimReminderHours |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-Name
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-PassThru
返回一个 对象,该对象表示正在使用的项。 默认情况下,此 cmdlet 可能不会生成任何输出。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-PortalUrl
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-PowerShellExecutionPolicy
| 类型: | PowerShellExecutionPolicyType |
| 接受的值: | AllSigned, Bypass, Restricted |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-SelectWebsitePoint
请勿使用此参数。 不再支持应用程序目录。
| 类型: | ApplicationCatalogWebsitePointType |
| 别名: | SelectApplicationCatalogWebsitePoint |
| 接受的值: | Fqdn, AutoDetect, NetBios |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-SuspendBitLocker
| 类型: | SuspendBitLockerType |
| 接受的值: | Never, Always |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-UseNewSoftwareCenter
| 类型: | Boolean |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-UseOnPremisesHealthAttestation
| 类型: | Boolean |
| 别名: | UseOnPremisesHealthAttestationService |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-WebsitePointServerName
| 类型: | String |
| 别名: | ApplicationCatalogWebsitePointServerName |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-WhatIf
显示在 cmdlet 运行时发生的情况。 cmdlet 不会运行。
| 类型: | SwitchParameter |
| 别名: | wi |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
输出
System.Object