Modifier

Partager via


Export-StartLayoutEdgeAssets

Exports secondary tiles for Microsoft Edge that display a custom image.

Syntax

Export-StartLayoutEdgeAssets
      [-Path] <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Export-StartLayoutEdgeAssets
      -LiteralPath <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Export-StartLayoutEdgeAssets cmdlet exports secondary tiles for Microsoft Edge that display a custom image. Use Export-StartLayout and Import-StartLayout along with the current cmdlet to import the assets. For more information, see Add image for secondary Microsoft Edge tiles.

The provisioning policies that use the exported assets are no longer used with the Windows 11 Start menu.

Examples

Example 1: Export assets

Export-StartLayoutEdgeAssets -Path "C:\Layouts\assets.xml"

This example exports the assets to the file assets.xml in the C:\Layouts folder. This cmdlet doesn't append .xml to a file name.

Parameters

-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

-LiteralPath

Specifies a literal path for an asset file. Include the .xml file name extension. This parameter does not accept the wildcard character (*). If the path includes an escape character (\), enclose the string in single quotes (').

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

-Path

Specifies an absolute path for an asset file. Include the .xml file name extension. This parameter does not accept the wildcard character (*).

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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

Inputs

None

Outputs

Object