From 2af56436d214c8f2ef26e5744d6397f0a45890b7 Mon Sep 17 00:00:00 2001 From: Ari Krumbein <51719735+arkrumbe@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:49:31 -0500 Subject: [PATCH 1/3] Learn Editor: Update Import-StartLayout.md --- docset/winserver2022-ps/startlayout/Import-StartLayout.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docset/winserver2022-ps/startlayout/Import-StartLayout.md b/docset/winserver2022-ps/startlayout/Import-StartLayout.md index f874fd48ce..6a2b8e179e 100644 --- a/docset/winserver2022-ps/startlayout/Import-StartLayout.md +++ b/docset/winserver2022-ps/startlayout/Import-StartLayout.md @@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image. ## SYNTAX ### Path -``` +```powershell Import-StartLayout [-LayoutPath] [-MountPath] [-WhatIf] [-Confirm] [] ``` ### LiteralPath -``` +```powershell Import-StartLayout -LayoutLiteralPath -MountLiteralPath [-WhatIf] [-Confirm] [] ``` @@ -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 From f018259eea12934cc97e765ce82f2badf549aeaf Mon Sep 17 00:00:00 2001 From: Ari Krumbein <51719735+arkrumbe@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:50:49 -0500 Subject: [PATCH 2/3] Learn Editor: Update Import-StartLayout.md From d6388549db10d4fce0de940988fce2f4439b00ce Mon Sep 17 00:00:00 2001 From: Ari Krumbein <51719735+arkrumbe@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:08:13 -0500 Subject: [PATCH 3/3] Learn Editor: Update Import-StartLayout.md --- docset/winserver2025-ps/startlayout/Import-StartLayout.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docset/winserver2025-ps/startlayout/Import-StartLayout.md b/docset/winserver2025-ps/startlayout/Import-StartLayout.md index e26c8f0d95..47479bd6be 100644 --- a/docset/winserver2025-ps/startlayout/Import-StartLayout.md +++ b/docset/winserver2025-ps/startlayout/Import-StartLayout.md @@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image. ## SYNTAX ### Path -``` +```powershell Import-StartLayout [-LayoutPath] [-MountPath] [-WhatIf] [-Confirm] [] ``` ### LiteralPath -``` +```powershell Import-StartLayout -LayoutLiteralPath -MountLiteralPath [-WhatIf] [-Confirm] [] ``` @@ -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