Export-StartLayout
Export-StartLayout
Exports the layout of the Start screen.
Sintaxis
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>]
Descripción detallada
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.
Parámetros
-As<AsFileType>
Specifies a file type to export. Los valores aceptables para este parámetro son los siguientes:
-- BIN. Export as a .bin file.
-- XML. Export as an .xml file.
The default value is BIN.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
BIN |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
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 |
ninguno |
¿Requerido? |
true |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Path<String>
Specifies an absolute path to a layout file. Include the file name extension, .bin or .xml.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
2 |
Valor predeterminado |
Current Location |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Enum
You can specify the following file formats:
-- BIN. Export as a .bin file.
-- XML. Export as an .xml file.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
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