Sdílet prostřednictvím


Set-CMClientSettingComputerAgent

SYNOPSIS

Nastaví počítačový agent pro nastavení klienta.

SYNTAX

SetCustomSettingByName (výchozí)

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>]

Nastavení výchozího nastavení

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

Poznámka

Spusťte Správce konfigurace rutiny z Správce konfigurace lokality, například PS XYZ:\> . Další informace najdete v tématu Začínáme.

EXAMPLES

Příklad 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

-AllowPortalTo ZachytávaníOlevatedTrust

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

Před spuštěním rutiny zobrazí výzvu k potvrzení.

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

Tento parametr považuje zástupné znaky za hodnoty literálových znaků. Nemůžete ho kombinovat s 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

Tento parametr zpracovává zástupné znaky a může vést k neočekávanému chování (nedoporučuje se). Nemůžete ho kombinovat s příkazem 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

Vrátí objekt představující položku, se kterou pracujete. Ve výchozím nastavení tato rutina nemusí generovat žádný výstup.

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

Nepoužívejte tento parametr. Katalog aplikací se už nepodporuje.

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

Zobrazuje, co by se stalo při spuštění rutiny. Rutina se nespouštěl.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

Tato rutina podporuje společné parametry: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction a -WarningVariable. Další informace najdete v tématu about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

System.Object

POZNÁMKY