Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for Import-StartLayout to indicate deprecation #3877

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docset/winserver2022-ps/startlayout/Import-StartLayout.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image.
## SYNTAX

### Path
```
```powershell
Import-StartLayout [-LayoutPath] <String> [-MountPath] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
```

### LiteralPath
```
```powershell
Import-StartLayout -LayoutLiteralPath <String> -MountLiteralPath <String> [-WhatIf] [-Confirm]
[<CommonParameters>]
```
Expand All @@ -36,6 +36,8 @@ You must have administrator rights to import a layout.

In Windows 10, the Export-StartLayout cmdlet exports layouts as .xml files, and the **Import-StartLayout** cmdlet imports only .xml files.

> [!CAUTION]
> The Import-StartLayout cmdlet is deprecated in Windows 11. It has no effect on either Start or Taskbar layout. To configure the Start layout in Windows 11, see [Customize the Windows 11 Start layout](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-start-menu). To configure Taskbar layout in Windows 11, see [Customize the Taskbar](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-taskbar).
## EXAMPLES

### Example 1: Import a layout into a Windows image
Expand Down
7 changes: 5 additions & 2 deletions docset/winserver2025-ps/startlayout/Import-StartLayout.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image.
## SYNTAX

### Path
```
```powershell
Import-StartLayout [-LayoutPath] <String> [-MountPath] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
```

### LiteralPath
```
```powershell
Import-StartLayout -LayoutLiteralPath <String> -MountLiteralPath <String> [-WhatIf] [-Confirm]
[<CommonParameters>]
```
Expand All @@ -36,6 +36,9 @@ You must have administrator rights to import a layout.

In Windows 10, the Export-StartLayout cmdlet exports layouts as .xml files, and the **Import-StartLayout** cmdlet imports only .xml files.

> [!CAUTION]
> The Import-StartLayout cmdlet is deprecated in Windows 11. It has no effect on either Start or Taskbar layout. To configure the Start layout in Windows 11, see [Customize the Windows 11 Start layout](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-start-menu). To configure Taskbar layout in Windows 11, see [Customize the Taskbar](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-taskbar).

## EXAMPLES

### Example 1: Import a layout into a Windows image
Expand Down