Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Export-StartLayout

Export-StartLayout

microsoft.windows.startscreen.commands.dll

Synopsis

Exports the layout of the Start screen.

Syntax

Export-StartLayout [-As] [-LiteralPath] [-Confirm] [-WhatIf] [<CommonParameters>]

Export-StartLayout [-As] [-Path] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Export-StartLayout cmdlet exports the layout of the Start screen of the current user. You can export layout as an .xml file to verify the layout, or you can export layout as a .bin file to modify the layout of an existing Windows image. Specify the appropriate file name extension, .bin or .xml, in the name of the file. To modify the layout of a Windows image, export the layout as a .bin file, and then import it into a Windows image by using the Import-StartLayout cmdlet.

Parameters

-As <AsFileType>

Specifies a file type to export. The acceptable values for this parameter are:  -- BIN. Export as a .bin file. -- XML. Export as an .xml file. The default value is BIN.

Aliases

None

Required?

false

Position

2

Default value

BIN

Accept pipeline input?

false

Accept wildcard characters?

false

-LiteralPath <String>

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

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Path <String>

Specifies an absolute path to a layout file. Include the file name extension, .bin or .xml.

Aliases

None

Required?

true

Position

2

Default value

Current Location

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

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

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Enum

Return Type


Notes

None

Examples

Example 1: Export the layout as a .bin file

This command exports the layout of the Start screen to a file named Marketing.bin in the C:\Layouts folder. The command specifies a value of BIN for the As parameter, so the cmdlet creates a .bin file.

PS C:\> Export-StartLayout -Path "C:\Layouts\Marketing.bin" -As BIN

Online Version
Import-StartLayout