共用方式為


New-CMMicrosoftEdgeBrowserProfiles

建立原則來管理舊版 Microsoft Edge 瀏覽器設定。

Syntax

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

Description

建立原則來管理舊版 Microsoft Edge 瀏覽器設定。 這個原則只適用于 Windows 10 版本1703或更新版本上的用戶端,以及舊版 Microsoft Edge 版本45及更舊版本。 如需詳細資訊,請參閱在 Configuration Manager 中設定舊版 Microsoft Edge 設定。 本文也包含特定原則設定的詳細資料。

如需使用 Configuration Manager 管理 Microsoft Edge 版本77或更新版本的詳細資訊,請參閱Deploy 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

設定設定 允許位址列下拉式清單。

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

設定設定 允許 cookies

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

將設定設定為 [ 允許請勿追蹤標頭]。

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

-Description

指定瀏覽器設定檔原則的選擇性描述。

Type:String
Aliases:LocalizedDescription
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

-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

設定 允許將內部網路流量傳送至 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 預設應用程式設定設定為舊版 Microsoft Edge。

Type:EdgeBrowserAsDefaultSettingType
Accepted values:Configured, NotConfigured
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-SupportedPlatform

指定此原則適用的支援平臺物件。 若要取得此物件,請使用 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

輸入

輸出

IResultObject