New-CMMicrosoftEdgeBrowserProfiles   
创建策略来管理 Microsoft Edge 旧版浏览器设置。
语法
New-CMMicrosoftEdgeBrowserProfiles
   [-AllowAddressBarDropDown <EdgeBrowserSettingType>]
   [-AllowAutoFill <EdgeBrowserSettingType>]
   [-AllowCookies <EdgeBrowserSettingType>]
   [-AllowDeveloperTools <EdgeBrowserSettingType>]
   [-AllowDoNotTrack <EdgeBrowserSettingType>]
   [-AllowExtensions <EdgeBrowserSettingType>]
   [-AllowPasswordManager <EdgeBrowserSettingType>]
   [-AllowPopups <EdgeBrowserSettingType>]
   [-AllowSearchSuggestions <EdgeBrowserSettingType>]
   [-AllowSmartScreen <EdgeBrowserSettingType>]
   [-ClearBrowsingDataOnExit <EdgeBrowserSettingType>]
   [-Description <String>]
   -Name <String>
   [-PreventOverrideFiles <EdgeBrowserSettingType>]
   [-PreventPromptOverride <EdgeBrowserSettingType>]
   [-SendIntranetTrafficToIE <EdgeBrowserSettingType>]
   [-SetEdgeBrowserAsDefault <EdgeBrowserAsDefaultSettingType>]
   -SupportedPlatform <IResultObject[]>
   [-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 及更高版本。 有关为 Microsoft Edge 版本 77 或更高版本配置策略的详细信息,请参阅 Microsoft Edge - 策略。
示例
示例 1
$os1 = Get-CMSupportedPlatform -Name "*Windows*10*" -Fast
New-CMMicrosoftEdgeBrowserProfiles -Name "Edge1" -SupportedPlatform $os1 -AllowAddressBarDropDown Allow -AllowAutoFill Allow -AllowCookies Allow -AllowDeveloperTools Allow -AllowDoNotTrack Allow -AllowExtensions Allow -AllowPasswordManager Allow -AllowPopups Allow -AllowSearchSuggestions Allow -AllowSmartScreen Allow -ClearBrowsingDataOnExit Allow -Description "Edge1" -PreventOverrideFiles Allow -PreventPromptOverride Allow -SendIntranetTrafficToIE Allow -SetEdgeBrowserAsDefault Configured -SyncFavoritesIEAndEdge Allow参数
-AllowAddressBarDropDown
将设置配置为 “允许地址栏”下拉列表。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowAutoFill
将设置配置为 “允许自动填充”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowCookies
将设置配置为 “允许 Cookie”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowDeveloperTools
将设置配置为 “允许开发人员工具”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowDoNotTrack
将设置配置为 “不允许跟踪”标头。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowExtensions
将设置配置为 “允许扩展”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowPasswordManager
将设置配置为 “允许密码管理器”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowPopups
将设置配置为 “允许弹出阻止程序”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowSearchSuggestions
将设置配置为 “允许地址栏中的搜索建议”。
| 类型: | EdgeBrowserSettingType | 
| 别名: | AllowSearchSuggestionsinAddressBar | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-AllowSmartScreen
将 Microsoft Defender SmartScreen 设置配置为 “允许 SmartScreen”。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-ClearBrowsingDataOnExit
将设置配置为 在退出时允许清除浏览数据。
| 类型: | EdgeBrowserSettingType | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-Confirm
提示你在运行 cmdlet 之前进行确认。
| 类型: | SwitchParameter | 
| 别名: | cf | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-Description
为浏览器配置文件策略指定可选说明。
| 类型: | String | 
| 别名: | LocalizedDescription | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-DisableWildcardHandling
此参数将通配符视为文本字符值。 不能将其与 ForceWildcardHandling 组合使用。
| 类型: | SwitchParameter | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-ForceWildcardHandling
此参数处理通配符,并可能导致意外行为, (不建议) 。 不能将其与 DisableWildcardHandling 组合使用。
| 类型: | SwitchParameter | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-Name
指定浏览器配置文件策略的名称。
| 类型: | String | 
| 别名: | LocalizedDisplayName | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | True | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-PreventOverrideFiles
配置 Microsoft Defender SmartScreen 设置: 用户可以替代文件的 SmartScreen 提示。
| 类型: | EdgeBrowserSettingType | 
| 别名: | PreventSmartScreenPromptOverrideForFiles | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-PreventPromptOverride
配置 Microsoft Defender SmartScreen 设置: 用户可以覆盖网站的 SmartScreen 提示。
| 类型: | EdgeBrowserSettingType | 
| 别名: | PreventSmartScreenPromptOverride | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-SendIntranetTrafficToIE
将设置配置为 “允许将 Intranet 流量发送到 Internet Explorer”。
| 类型: | EdgeBrowserSettingType | 
| 别名: | SendIntranetTrafficToInternetExplorer | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-SetEdgeBrowserAsDefault
将设置配置为 将 Microsoft Edge 浏览器设置为默认值。 如果配置此设置,Configuration Manager 会将 Web 浏览器的 Windows 10 默认应用设置配置为Microsoft旧版 Edge。
| 类型: | EdgeBrowserAsDefaultSettingType | 
| 接受的值: | Configured, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-SupportedPlatform
指定此策略适用的受支持平台对象。 若要获取此对象,请使用 Get-CMSupportedPlatform cmdlet。
| 类型: | IResultObject[] | 
| 别名: | SupportedPlatforms | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | True | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-SyncFavoritesIEAndEdge
将设置配置为 “允许在Microsoft浏览器之间同步收藏夹”。
| 类型: | EdgeBrowserSettingType | 
| 别名: | SyncFavoritesBetweenIEAndMicrosoftEdge | 
| 接受的值: | Allow, NotAllow, NotConfigured | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-WhatIf
显示在 cmdlet 运行时发生的情况。 cmdlet 不会运行。
| 类型: | SwitchParameter | 
| 别名: | wi | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
输入
None
输出
IResultObject