At first approve applications name:
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items())
Then get your languages localized Unpin-String, simply rightclick on that item in yout taskbar and get the unpin string. For English it’s ‘Unpin from taskbar’, for German it’s ‘Von Taskleiste lösen’ ARRRGGGG!
# THE EDGY EDGE $appname = "Microsoft Edge" ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'Von Taskleiste l�sen'} | %{$_.DoIt(); $exec = $true} $appname = "Microsoft Edge" ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'Unpin from taskbar'} | %{$_.DoIt(); $exec = $true}