Export-StartLayout
Export-StartLayout [-Path*] <String> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore |Suspend}] [-InformationVariable <System.String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Export-StartLayout [-LiteralPath*] <String> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire |Ignore | Suspend}] [-InformationVariable <System.String>] [-Confirm] [-WhatIf] [<CommonParameters>]
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 extension in the name of the file.
Parameters
-InformationAction [<System.Management.Automation.ActionPreference>]
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- SilentlyContinue-- Stop-- Continue-- Inquire-- Ignore-- Suspend
-InformationVariable [<System.String>]
Specifies a variable in which to store an information event message.
-LiteralPath <String>
- This value is required
Specifies a literal path to a layout file. Include the file .xml file extension. This parameter does not accept the wildcard character (*). If the path includes an escape character (\), enclose the string in single quotes (').
-Path <String>
- This value is required
Specifies an absolute path to a layout file.
-Confirm [<SwitchParameter>]
- Default value is false
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
-WhatIf [<SwitchParameter>]
- Default value is false
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.
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.
Inputs
EnumExamples
- 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.
This work is licensed under a Creative Commons Attribution 4.0 International. It is attributed to Microsoft Corporation and can be found here.
PowerShell Commands