I read at https://docs.microsoft.com/en-us/intune-education/all-edu-settings-windows#start-menu that you can:
Apply a custom Start menu layout using an XML file. You can upload an .xml file less than 2 MB in size. This setting is not supported on devices running Windows 11 SE. To change the default pinned apps for Windows 11 SE, customize the layout using the ConfigureStartPins policy in Microsoft Intune.
I also read at https://docs.microsoft.com/en-us/intune-education/windows-11-se-overview#device-settings that:
The default layout is already optimized for school use. You can customize the layout using the ConfigureStartPins policy in Microsoft Intune.
I then read at https://docs.microsoft.com/en-us/windows/configuration/customize-start-menu-layout-windows-11#export... that it should be possible to export an existing Start layout using PowerShell.
However, as Windows 11 SE devices have PowerShell restricted, I tried to deploy a PowerShell script using Intune and selected "Run this script using the logged on credentials: Yes". However, when I check the script deployment Device status it shows "Failed" (another dummy script with "Run this script using the logged on credentials: No" does run). The script is set to run the following (the "Admin" user has already signed in to the device before and has signed in to the OneDrive sync app):
Export-StartLayout -Path "c:\Users\Admin\OneDrive - Demo1\Documents\Dev1_LayoutModification.json"
Could someone please advise the best method to export an existing Windows 11 SE Start layout so I can deploy that customized Start layout to all my Windows 11 SE devices?