Set-CMClientSettingComputerAgent

Définit un agent d’ordinateur de paramètre client.

Syntax

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

Notes

Exécutez les cmdlets Configuration Manager à partir du lecteur de site Configuration Manager, par PS XYZ:\> exemple. Pour plus d’informations, voir la mise en place.

Exemples

Exemple 1

PS XYZ:\>

Paramètres

- Confirmer

Une invite de confirmation apparaît avant d’exécuter le cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
- WhatIf

Présente ce qui se produit si le cmdlet s’exécute. La cmdlet ne s’exécute pas.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddPortalToTrustedSiteList
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowPortalToHaveElevatedTrust
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BrandingTitle
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultSetting
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableDeadlineRandom
Type:Boolean
Aliases:DisableDeadlineRandomization
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Ce paramètre traite les caractères génériques comme des valeurs littérales. Vous ne pouvez pas la combiner avec ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisplayNewProgramNotification
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EnableHealthAttestation
Type:Boolean
Aliases:EnableHealthAttestationService
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EnableThirdPartyOrchestration
Type:EnableThirdPartyOrchestrationType
Accepted values:No, Yes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FinalReminderMins
Type:Int32
Aliases:FinalReminderMinutesInterval, FinalReminderMinutes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Ce paramètre traite les caractères génériques et peut entraîner un comportement inattendu (non recommandé). Vous ne pouvez pas la combiner avec DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HealthAttestationUrl
Type:String
Aliases:OnPremisesHealthAttestationServiceUrl
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InitialReminderHr
Type:Int32
Aliases:InitialReminderHoursInterval, InitialReminderHours
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject
Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-InstallRestriction
Type:InstallRestrictionType
Accepted values:AllUsers, OnlyAdministrators, OnlyAdministratorsAndPrimaryUsers, NoUsers
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InterimReminderHr
Type:Int32
Aliases:InterimReminderHoursInterval, InterimReminderHours
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Renvoie un objet représentant l’élément avec lequel vous travaillez. Par défaut, cette cmdlet peut ne pas générer de sortie.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PortalUrl
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PowerShellExecutionPolicy
Type:PowerShellExecutionPolicyType
Accepted values:AllSigned, Bypass, Restricted
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SelectWebsitePoint

N’utilisez pas ce paramètre. Le catalogue d’applications n’est plus pris en charge.

Type:ApplicationCatalogWebsitePointType
Aliases:SelectApplicationCatalogWebsitePoint
Accepted values:Fqdn, AutoDetect, NetBios
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SuspendBitLocker
Type:SuspendBitLockerType
Accepted values:Never, Always
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseNewSoftwareCenter
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseOnPremisesHealthAttestation
Type:Boolean
Aliases:UseOnPremisesHealthAttestationService
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WebsitePointServerName
Type:String
Aliases:ApplicationCatalogWebsitePointServerName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Entrées

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Sorties

System.Object