Share via


Export-StartLayout

Export-StartLayout

Exports the layout of the Start screen.

Sintassi

Parameter Set: Literal
Export-StartLayout [-LiteralPath] <String> [[-As] <AsFileType> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Non-literal
Export-StartLayout [-Path] <String> [[-As] <AsFileType> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descrizione dettagliata

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.

Parametri

-As<AsFileType>

Specifies a file type to export. I valori accettabili per questo parametro sono:

-- BIN. Export as a .bin file.
-- XML. Export as an .xml file.

The default value is BIN.

Alias

nessuno

Obbligatorio?

false

Posizione?

2

Valore predefinito

BIN

Accetta input da pipeline?

false

Accetta caratteri jolly?

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 (').

Alias

nessuno

Obbligatorio?

true

Posizione?

2

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Path<String>

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

Alias

nessuno

Obbligatorio?

true

Posizione?

2

Valore predefinito

Current Location

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Confirm

Richiede conferma prima di eseguire il cmdlet.

Obbligatorio?

false

Posizione?

named

Valore predefinito

False

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-WhatIf

Mostra gli effetti dell'esecuzione del cmdlet. Il cmdlet non viene eseguito.

Obbligatorio?

false

Posizione?

named

Valore predefinito

False

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

  • Enum

    You can specify the following file formats:

    -- BIN. Export as a .bin file.
    -- XML. Export as an .xml file.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

Esempi

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

Argomenti correlati

Import-StartLayout