NAME
Import-StartLayout
SYNOPSIS
Imports the layout of the Start into a mounted Windows image.SYNTAX
Import-StartLayout [-LayoutPath]
[-MountPath] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable
[] [-Confirm] [-WhatIf] ] Import-StartLayout [-LayoutLiteralPath]
[-MountLiteralPath] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable
] [-Confirm] [-WhatIf] [
] DESCRIPTION
The Import-StartLayout cmdlet imports the specified layout of Start into a mounted Windows image. When you import
a layout, it replaces the existing layout of Start. Before you use this cmdlet, mount the Windows image file to import the layout into. You must have administrator rights to import a layout.The Export-StartLayout cmdlet exports layouts as .xml files, and the Import-StartLayout cmdlet imports only .xml
files.PARAMETERS
-InformationAction [
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:] -- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend
Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false-InformationVariable [
Specifies a variable in which to store an information event message. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false] -LayoutLiteralPath
Specifies a literal path to a layout file. This parameter does not accept the wildcard character (*). If the
path includes an escape character (\), enclose the string in single quotes ('). Required? true Position? 2 Default value none Accept pipeline input? false Accept wildcard characters? false-LayoutPath
Specifies a path to a layout file. Required? true Position? 2 Default value none Accept pipeline input? false Accept wildcard characters? false-MountLiteralPath
Specifies the literal path where you mounted the .wim file. This parameter does not accept the wildcardcharacter (*). If the path includes an escape character (\), enclose the string in single quotes (').
Required? true Position? 3 Default value none Accept pipeline input? false Accept wildcard characters? false-MountPath
Specifies the path where you mounted the .wim file and specifies the local appdata folder for the default user. Required? true Position? 3 Default value none Accept pipeline input? false Accept wildcard characters? false-Confirm [
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false] -WhatIf [
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false] This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
OUTPUTS
Example 1: Import a layout into a Windows image
PS C:\> Import-StartLayout -LayoutPath "Layout.xml" -MountPath "E:\MountedImage\"
This command imports a layout of the Start screen into a Windows image.Example 2: Validate the layout file and Windows image
PS C:\> Import-StartLayout -LayoutPath "Layout.xml" -MountPath " E:\MountedImage\" -WhatIf
This command validates the layout file and the Windows image by using the WhatIf parameter. Besides that parameter, the command is the same as the previous example, but this command makes no changes.RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=294167Export-StartLayout
Start Layout Cmdlets