Export-StartLayout
Export-StartLayout
Exports the layout of the Start screen.
Sintaxe
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>]
Descrição detalhada
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. Os valores aceitáveis para este parâmetro são:
-- BIN. Export as a .bin file.
-- XML. Export as an .xml file.
The default value is BIN.
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
2 |
Valor padrão |
BIN |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
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 |
nenhuma |
Necessário? |
true |
Posição? |
2 |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
-Path<String>
Specifies an absolute path to a layout file. Include the file name extension, .bin or .xml.
Aliases |
nenhuma |
Necessário? |
true |
Posição? |
2 |
Valor padrão |
Current Location |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
-Confirm
Solicita que você confirme antes de executar o cmdlet.
Necessário? |
false |
Posição? |
named |
Valor padrão |
false |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
-WhatIf
Mostra o que aconteceria se o cmdlet fosse executado. O cmdlet não é executado.
Necessário? |
false |
Posição? |
named |
Valor padrão |
false |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
<CommonParameters>
Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.
Enum
You can specify the following file formats:
-- BIN. Export as a .bin file.
-- XML. Export as an .xml file.
Saídas
O tipo de saída é o tipo de objeto emitido pelo cmdlet.
Exemplos
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