I am trying to pin a program to the start menu in Windows 10
$shell = New-Object -ComObject \"Shell.Application\"
$Folder = $shell.NameSpace(\"C:\\Test\")
$e
This is no longer possible in Windows 10 (latest seemed to work in 8.1). I can not say for sure, but these issues seem to be linked.
Please see here:
https://connect.microsoft.com/PowerShell/feedback/details/1609288/pin-to-taskbar-no-longer-working-in-windows-10
and also here:
Pin program to taskbar using PS in Windows 10.