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

Export-StartLayout -Path .\sample.xml -UseDesktopAppplicationID fails to find the switch #3858

Open
3 tasks done
laymanstake opened this issue Jul 30, 2024 · 0 comments
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

Comments

@laymanstake
Copy link

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

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

@laymanstake laymanstake added issue-doc-bug Something is out of date, unclear, confusing, or broken in the article. Blocks customer success. needs-triage Waiting - Needs triage labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-doc-bug Something is out of date, unclear, confusing, or broken in the article. Blocks customer success. needs-triage Waiting - Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant