共用方式為


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

Description

設定 Microsoft Edge 舊版瀏覽器配置文件的原則。 此原則僅適用於 Windows 10 版本 1703 或更新版本的用戶端,Microsoft舊版 45 和更早版本的用戶端。 如需詳細資訊, 請參閱 Configure Microsoft Edge Legacy settings in Configuration Manager。 本文也包含有關特定原則設定的詳細數據。

如需使用 Configuration Manager 管理 Microsoft Edge 77 版或更新版本的詳細資訊,請參 閱部署 Microsoft Edge 版本 77 和更新版本。 如需設定 Microsoft Edge 版本 77 或更新版本之原則的詳細資訊,請 參閱 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

將設定設定為 [允許網址列] 下拉式清單

類型: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

-Id

指定要設定之瀏覽器設定檔的 CI 識別 碼。 格式為五到七位數的數位,例如 403823

類型:Int32
別名:CIId, CI_ID
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-InputObject

指定要設定的瀏覽器設定檔原則物件。 若要取得此物件,請使用 Get-CMMicrosoftEdgeBrowserProfiles Cmdlet。

類型:IResultObject
別名:MicrosoftEdgeBrowserPolicy
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

指定要設定的瀏覽器設定檔名稱。

類型:String
別名:LocalizedDisplayName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-NewName

若要重新命名此瀏覽器設定檔原則,請指定新名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PassThru

新增此參數以傳回 物件,代表您正在使用的專案。 根據預設,此 Cmdlet 可能不會產生任何輸出。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入: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

將設定為 [允許將內部網路流量傳送至 Internet Explorer]

類型:EdgeBrowserSettingType
別名:SendIntranetTrafficToInternetExplorer
接受的值:Allow, NotAllow, NotConfigured
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SetEdgeBrowserAsDefault

將設定設定為 [將 Microsoft Edge 瀏覽器設定為預設值。 如果您設定此設定,Configuration Manager 會將網頁瀏覽器的 Windows 10 預設應用程式設定設定為Microsoft舊版 Edge。

類型:EdgeBrowserAsDefaultSettingType
接受的值:Configured, NotConfigured
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SupportedPlatform

指定此原則適用的支持平台物件。 若要取得此物件,請使用 Get-CMSupportedPlatform Cmdlet。

類型:IResultObject[]
別名:SupportedPlatforms
Position:Named
預設值:None
必要:False
接受管線輸入: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

輸入

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

輸出

IResultObject