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>]
Description
注意事項
從 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