Set-CMClientSettingComputerAgent
SYNOPSIS
Anger en datoragent för klientinställning.
SYNTAX
SetCustomSettingByName (standard)
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>]
SetDefaultSetting
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>]
SetCustomSettingByValue
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
Anteckning
Kör Konfigurationshanteraren cmdlets från Konfigurationshanteraren platsenhet, till exempel PS XYZ:\>
. Mer information finns i Komma igång.
EXAMPLES
Exempel 1
PS XYZ:\>
PARAMETERS
-AddPortalToTrustedSiteList
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowPortalToHaveElevatedTrust
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BrandingTitle
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Uppmanar dig att bekräfta innan du kör cmdleten.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DefaultSetting
Type: SwitchParameter
Parameter Sets: SetDefaultSetting
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableDeadlineRandom
Type: Boolean
Parameter Sets: (All)
Aliases: DisableDeadlineRandomization
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Den här parametern behandlar jokertecken som värden för literaltecken. Du kan inte kombinera den med ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisplayNewProgramNotification
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableHealthAttestation
Type: Boolean
Parameter Sets: (All)
Aliases: EnableHealthAttestationService
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableThirdPartyOrchestration
Type: EnableThirdPartyOrchestrationType
Parameter Sets: (All)
Aliases:
Accepted values: No, Yes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FinalReminderMins
Type: Int32
Parameter Sets: (All)
Aliases: FinalReminderMinutesInterval, FinalReminderMinutes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Den här parametern bearbetar jokertecken och kan leda till oväntat beteende (rekommenderas inte). Du kan inte kombinera den med DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-HealthAttestationUrl
Type: String
Parameter Sets: (All)
Aliases: OnPremisesHealthAttestationServiceUrl
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InitialReminderHr
Type: Int32
Parameter Sets: (All)
Aliases: InitialReminderHoursInterval, InitialReminderHours
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Type: IResultObject
Parameter Sets: SetCustomSettingByValue
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-InstallRestriction
Type: InstallRestrictionType
Parameter Sets: (All)
Aliases:
Accepted values: AllUsers, OnlyAdministrators, OnlyAdministratorsAndPrimaryUsers, NoUsers
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InterimReminderHr
Type: Int32
Parameter Sets: (All)
Aliases: InterimReminderHoursInterval, InterimReminderHours
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
Type: String
Parameter Sets: SetCustomSettingByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PassThru
Returnerar ett objekt som representerar det objekt som du arbetar med. Som standard genererar denna cmdlet kanske inte några utdata.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PortalUrl
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PowerShellExecutionPolicy
Type: PowerShellExecutionPolicyType
Parameter Sets: (All)
Aliases:
Accepted values: AllSigned, Bypass, Restricted
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SelectWebsitePoint
Använd inte den här parametern. Programkatalogen stöds inte längre.
Type: ApplicationCatalogWebsitePointType
Parameter Sets: (All)
Aliases: SelectApplicationCatalogWebsitePoint
Accepted values: Fqdn, AutoDetect, NetBios
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SuspendBitLocker
Type: SuspendBitLockerType
Parameter Sets: (All)
Aliases:
Accepted values: Never, Always
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UseNewSoftwareCenter
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UseOnPremisesHealthAttestation
Type: Boolean
Parameter Sets: (All)
Aliases: UseOnPremisesHealthAttestationService
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WebsitePointServerName
Type: String
Parameter Sets: (All)
Aliases: ApplicationCatalogWebsitePointServerName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Visar vad som skulle hända om cmdleten kördes. Cmdleten körs inte.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.