Set-CMMicrosoftEdgeBrowserProfiles

Configure a policy for a Microsoft Edge Legacy browser profile.

Syntax

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

Configure a policy for a Microsoft Edge Legacy browser profile. This policy only applies to clients on Windows 10, version 1703 or later, and Microsoft Edge Legacy version 45 and earlier. For more information, see Configure Microsoft Edge Legacy settings in Configuration Manager. This article also includes more details on the specific policy settings.

For more information on managing Microsoft Edge version 77 or later with Configuration Manager, see Deploy Microsoft Edge, version 77 and later. For more information on configuring policies for Microsoft Edge version 77 or later, see Microsoft Edge - Policies.

Examples

Example 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

Parameters

-AllowAddressBarDropDown

Configure the setting to Allow address bar drop-down.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowAutoFill

Configure the setting to Allow autofill.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowCookies

Configure the setting to Allow cookies.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowDeveloperTools

Configure the setting to Allow Developer Tools.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowDoNotTrack

Configure the setting to Allow Do Not Track headers.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowExtensions

Configure the setting to Allow extensions.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowPasswordManager

Configure the setting to Allow password manager.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowPopups

Configure the setting to Allow pop-up blocker.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowSearchSuggestions

Configure the setting to Allow search suggestions in address bar.

Type:EdgeBrowserSettingType
Aliases:AllowSearchSuggestionsinAddressBar
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AllowSmartScreen

Configure the Microsoft Defender SmartScreen setting to Allow SmartScreen.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClearBrowsingDataOnExit

Configure the setting to Allow clear browsing data on exit.

Type:EdgeBrowserSettingType
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-Description

Specify an optional description for the browser profile policy.

Type:String
Aliases:LocalizedDescription
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

Specify the CI ID of the browser profile to configure. The format is a five- to seven-digit number, for example 403823.

Type:Int32
Aliases:CIId, CI_ID
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specify a browser profile policy object to configure. To get this object, use the Get-CMMicrosoftEdgeBrowserProfiles cmdlet.

Type:IResultObject
Aliases:MicrosoftEdgeBrowserPolicy
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specify the name of the browser profile to configure.

Type:String
Aliases:LocalizedDisplayName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-NewName

To rename this browser profile policy, specify a new name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Add this parameter to return an object that represents the item with which you're working. By default, this cmdlet may not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PreventOverrideFiles

Configure the Microsoft Defender SmartScreen setting: Users can override SmartScreen prompt for files.

Type:EdgeBrowserSettingType
Aliases:PreventSmartScreenPromptOverrideForFiles
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PreventPromptOverride

Configure the Microsoft Defender SmartScreen setting: Users can override SmartScreen prompt for sites.

Type:EdgeBrowserSettingType
Aliases:PreventSmartScreenPromptOverride
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SendIntranetTrafficToIE

Configure the setting to Allow send intranet traffic to Internet Explorer.

Type:EdgeBrowserSettingType
Aliases:SendIntranetTrafficToInternetExplorer
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SetEdgeBrowserAsDefault

Configure the setting to Set Microsoft Edge browser as default. If you configure this setting, Configuration Manager configures the Windows 10 default app setting for web browser to Microsoft Edge Legacy.

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

-SupportedPlatform

Specify a supported platform object to which this policy is applicable. To get this object, use the Get-CMSupportedPlatform cmdlet.

Type:IResultObject[]
Aliases:SupportedPlatforms
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SyncFavoritesIEAndEdge

Configure the setting to Allow sync favorites between Microsoft browsers.

Type:EdgeBrowserSettingType
Aliases:SyncFavoritesBetweenIEAndMicrosoftEdge
Accepted values:Allow, NotAllow, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject