Export-StartLayout

Exports the layout of the Start screen.

Syntax

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

Description

The Export-StartLayout cmdlet exports the layout of the tiles on Start of the current user. You can export layout and use Import-StartLayout as well as other management policies for the Start layout. Specify the .xml file name extension in the name of the file.

Examples

Example 1: Export the layout

PS C:\> Export-StartLayout -Path "C:\Layouts\Marketing.xml"

This command exports the layout of the tiles on Start to a file named Marketing.xml in the C:\Layouts folder.

Required Parameters

-LiteralPath

Specifies a literal path to a layout file. Include the file .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
Accept pipeline input:False
Accept wildcard characters:False
-Path

Specifies an absolute path to a layout file.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
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:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Enum

You can specify the following file format:

  • XML. Export as an .xml file.