Export-StartLayout -Path .\sample.xml -UseDesktopAppplicationID fails to find the switch #3858
Open
3 tasks done
Labels
issue-doc-bug
Something is out of date, unclear, confusing, or broken in the article. Blocks customer success.
needs-triage
Waiting - Needs triage
Prerequisites
Get-Foo
cmdlet" instead of "Typo."Links
https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2019-ps/startlayout/Export-StartLayout.md
https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2022-ps/startlayout/Export-StartLayout.md
Summary
Once the command is run, we get the below error
Export-StartLayout : The method or operation is not implemented.
It works when run without the switch. Also it works when ran on Windows 2022 but doesn't work on Windows 10/11 (up to 24h2)
Details
Running Get-Help does confirm that syntax is correct
(get-help export-startlayout).syntax
Export-StartLayout [-Confirm] -LiteralPath [-UseDesktopApplicationID] [-WhatIf] []
Export-StartLayout [-Path] [-Confirm] [-UseDesktopApplicationID] [-WhatIf] []
Checking about specific parameter also doesn't point that why there should be an error
get-help export-startlayout -Parameter UseDesktopApplicationId
-UseDesktopApplicationID []
Specifies that the layout file should export the DesktopApplicationID value instead of DesktopApplicationLinkPath
which is the default. DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a
shortcut link (.lnk file) to a Windows desktop application.
Suggested Fix
Help documentation should be updated or the cmdlet should be fixed
The text was updated successfully, but these errors were encountered: