Edit

Share via


Export-StartLayoutEdgeAssets

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

Syntax

Non-literal

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

Literal

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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 (').

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Literal
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Path

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Non-literal
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Object