Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Export-StartLayout

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

Exports the layout of the Start screen.

SYNTAX

Non-literal

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

Literal

Export-StartLayout -LiteralPath <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.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-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
Parameter Sets: Literal
Aliases: 

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

-Path

Specifies an absolute path to a layout file.

Type: String
Parameter Sets: Non-literal
Aliases: 

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

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

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

INPUTS

Enum

You can specify the following file format:

  • XML. Export as an .xml file.

OUTPUTS

NOTES

Import-StartLayout

© 2017 Microsoft