New-Shortcut on the Public desktop

Hi,

I have been trying to use the New-Shortcut command to create a shortcut on the public desktop.
Using the New-Shortcut -Path “$env:PUBLIC\Desktop\Shortcut.lnk” command.

I see a success message in the log but the shortcut never appears. Am I missing something here?

Can you please show the full command you are using? Not that this should matter, but I use the tool’s built-in variable $envCommonDesktop for that path.