Set-CMMicrosoftEdgeBrowserProfiles
为浏览器配置文件Microsoft Edge 旧版策略。
语法
Set-CMMicrosoftEdgeBrowserProfiles
-Id <Int32>
[-NewName <String>]
[-PassThru]
[-SupportedPlatform <IResultObject[]>]
[-AllowAddressBarDropDown <EdgeBrowserSettingType>]
[-AllowAutoFill <EdgeBrowserSettingType>]
[-AllowCookies <EdgeBrowserSettingType>]
[-AllowDeveloperTools <EdgeBrowserSettingType>]
[-AllowDoNotTrack <EdgeBrowserSettingType>]
[-AllowExtensions <EdgeBrowserSettingType>]
[-AllowPasswordManager <EdgeBrowserSettingType>]
[-AllowPopups <EdgeBrowserSettingType>]
[-AllowSearchSuggestions <EdgeBrowserSettingType>]
[-AllowSmartScreen <EdgeBrowserSettingType>]
[-ClearBrowsingDataOnExit <EdgeBrowserSettingType>]
[-Description <String>]
[-PreventOverrideFiles <EdgeBrowserSettingType>]
[-PreventPromptOverride <EdgeBrowserSettingType>]
[-SendIntranetTrafficToIE <EdgeBrowserSettingType>]
[-SetEdgeBrowserAsDefault <EdgeBrowserAsDefaultSettingType>]
[-SyncFavoritesIEAndEdge <EdgeBrowserSettingType>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CMMicrosoftEdgeBrowserProfiles
-InputObject <IResultObject>
[-NewName <String>]
[-PassThru]
[-SupportedPlatform <IResultObject[]>]
[-AllowAddressBarDropDown <EdgeBrowserSettingType>]
[-AllowAutoFill <EdgeBrowserSettingType>]
[-AllowCookies <EdgeBrowserSettingType>]
[-AllowDeveloperTools <EdgeBrowserSettingType>]
[-AllowDoNotTrack <EdgeBrowserSettingType>]
[-AllowExtensions <EdgeBrowserSettingType>]
[-AllowPasswordManager <EdgeBrowserSettingType>]
[-AllowPopups <EdgeBrowserSettingType>]
[-AllowSearchSuggestions <EdgeBrowserSettingType>]
[-AllowSmartScreen <EdgeBrowserSettingType>]
[-ClearBrowsingDataOnExit <EdgeBrowserSettingType>]
[-Description <String>]
[-PreventOverrideFiles <EdgeBrowserSettingType>]
[-PreventPromptOverride <EdgeBrowserSettingType>]
[-SendIntranetTrafficToIE <EdgeBrowserSettingType>]
[-SetEdgeBrowserAsDefault <EdgeBrowserAsDefaultSettingType>]
[-SyncFavoritesIEAndEdge <EdgeBrowserSettingType>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CMMicrosoftEdgeBrowserProfiles
-Name <String>
[-NewName <String>]
[-PassThru]
[-SupportedPlatform <IResultObject[]>]
[-AllowAddressBarDropDown <EdgeBrowserSettingType>]
[-AllowAutoFill <EdgeBrowserSettingType>]
[-AllowCookies <EdgeBrowserSettingType>]
[-AllowDeveloperTools <EdgeBrowserSettingType>]
[-AllowDoNotTrack <EdgeBrowserSettingType>]
[-AllowExtensions <EdgeBrowserSettingType>]
[-AllowPasswordManager <EdgeBrowserSettingType>]
[-AllowPopups <EdgeBrowserSettingType>]
[-AllowSearchSuggestions <EdgeBrowserSettingType>]
[-AllowSmartScreen <EdgeBrowserSettingType>]
[-ClearBrowsingDataOnExit <EdgeBrowserSettingType>]
[-Description <String>]
[-PreventOverrideFiles <EdgeBrowserSettingType>]
[-PreventPromptOverride <EdgeBrowserSettingType>]
[-SendIntranetTrafficToIE <EdgeBrowserSettingType>]
[-SetEdgeBrowserAsDefault <EdgeBrowserAsDefaultSettingType>]
[-SyncFavoritesIEAndEdge <EdgeBrowserSettingType>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
为浏览器配置文件Microsoft Edge 旧版策略。 此策略仅适用于 Windows 10 版本 1703 或更高版本Microsoft Edge 旧版版本 45 及更早版本的客户端。 有关详细信息,请参阅在 Configuration Manager Microsoft Edge 旧版配置配置设置。 本文还包括有关特定策略设置的更多详细信息。
有关使用 Configuration Manager 管理 Microsoft Edge 77 或更高版本的信息,请参阅部署Microsoft Edge 版本 77 及更高版本。 有关为版本 77 或Microsoft Edge配置策略Microsoft Edge请参阅策略。
示例
示例 1
Set-CMMicrosoftEdgeBrowserProfiles -Name "Edge1" -AllowAddressBarDropDown NotConfigured -AllowAutoFill NotConfigured -AllowCookies NotConfigured -AllowDeveloperTools NotConfigured -AllowDoNotTrack NotConfigured -AllowExtensions NotConfigured -AllowPasswordManager NotConfigured -AllowPopups NotConfigured -AllowSearchSuggestions NotConfigured -AllowSmartScreen NotConfigured -ClearBrowsingDataOnExit NotConfigured -Description "Edge1" -PreventOverrideFiles NotConfigured -PreventPromptOverride NotConfigured -SendIntranetTrafficToIE NotConfigured -SetEdgeBrowserAsDefault Configured -SyncFavoritesIEAndEdge NotConfigured
参数
-AllowAddressBarDropDown
将设置配置为 "允许地址栏"下拉列表。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowAutoFill
将设置配置为 "允许自动填充"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowCookies
将设置配置为 "允许 Cookie"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowDeveloperTools
将设置配置为"允许开发人员工具"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowDoNotTrack
将设置配置为 "允许 Do Not Track 标头"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowExtensions
将设置配置为 "允许扩展"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowPasswordManager
将设置配置为"允许密码管理器"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowPopups
将设置配置为 "允许弹出窗口阻止程序"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowSearchSuggestions
将设置配置为 "允许地址栏中的搜索建议"。
Type: | EdgeBrowserSettingType |
Aliases: | AllowSearchSuggestionsinAddressBar |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowSmartScreen
将"Microsoft Defender SmartScreen"设置为 "允许 SmartScreen"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ClearBrowsingDataOnExit
将设置配置为 "退出时允许清除浏览数据"。
Type: | EdgeBrowserSettingType |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableWildcardHandling
此参数将通配符视为文字字符值。 不能将其与 ForceWildcardHandling 结合使用。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ForceWildcardHandling
此参数处理通配符,并且可能会导致意外行为 (不建议) 。 不能将其与 DisableWildcardHandling 结合使用。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
指定要配置的浏览器配置文件的CI ID。 格式为 5 到 7 位数字,例如 403823
。
Type: | Int32 |
Aliases: | CIId, CI_ID |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
指定要配置的浏览器配置文件策略对象。 若要获取此对象,请使用 Get-CMMicrosoftEdgeBrowserProfiles cmdlet。
Type: | IResultObject |
Aliases: | MicrosoftEdgeBrowserPolicy |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NewName
若要重命名此浏览器配置文件策略,请指定一个新名称。
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
添加此参数可返回一个对象,该对象表示您正使用的项目。 默认情况下,此 cmdlet 可能不会生成任何输出。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PreventOverrideFiles
配置Microsoft Defender SmartScreen设置:用户可以覆盖文件的 SmartScreen 提示。
Type: | EdgeBrowserSettingType |
Aliases: | PreventSmartScreenPromptOverrideForFiles |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PreventPromptOverride
配置Microsoft Defender SmartScreen设置:用户可以覆盖网站的 SmartScreen 提示。
Type: | EdgeBrowserSettingType |
Aliases: | PreventSmartScreenPromptOverride |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SendIntranetTrafficToIE
将设置配置为 "允许将 Intranet 流量发送到Internet Explorer"。
Type: | EdgeBrowserSettingType |
Aliases: | SendIntranetTrafficToInternetExplorer |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SetEdgeBrowserAsDefault
将设置配置为"将Microsoft Edge浏览器设置为默认"。 如果配置此设置,Configuration Manager Windows 10 Web 浏览器的默认应用设置Microsoft Edge 旧版。
Type: | EdgeBrowserAsDefaultSettingType |
Accepted values: | Configured, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SupportedPlatform
指定此策略适用的受支持平台对象。 若要获取此对象,请使用 Get-CMSupportedPlatform cmdlet。
Type: | IResultObject[] |
Aliases: | SupportedPlatforms |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SyncFavoritesIEAndEdge
将设置配置为 "允许在 Microsoft 浏览器之间同步收藏夹"。
Type: | EdgeBrowserSettingType |
Aliases: | SyncFavoritesBetweenIEAndMicrosoftEdge |
Accepted values: | Allow, NotAllow, NotConfigured |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
显示在 cmdlet 运行时发生的情况。 cmdlet 不运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-名称
指定要配置的浏览器配置文件的名称。
Type: | String |
Aliases: | LocalizedDisplayName |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-描述
指定浏览器配置文件策略的可选说明。
Type: | String |
Aliases: | LocalizedDescription |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
输出
IResultObject