Editar

Compartir a través de


Export-StartLayout

Exports the layout of the Start screen.

Syntax

Export-StartLayout
      [-Path] <String>
      [-UseDesktopApplicationID]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Export-StartLayout
      -LiteralPath <String>
      [-UseDesktopApplicationID]
      [-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
Aliases:cf
Position:Named
Default value:False
Required: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
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Path

Specifies an absolute path to a layout file.

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

-UseDesktopApplicationID

Specifies that the layout file should export the DesktopApplicationID value instead of DesktopApplicationLinkPath which is the default. DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application.

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

Inputs

Enum

You can specify the following file format:

  • XML. Export as an .xml file.