Thanks for the script. It took us a while before we figure out that it work only for ENG Windows language version. You have to translate "Unpin from taskbar" to yourEnglish Windows language version.
You have to translate "Unpin from taskbar" to your Windows language version.
For a polish WinPolish Windows edition, the proper script to unpin Internet Explorer is as follow: $appnames = @("Internet Explorer") ((New-Object -Com Shell.Application).NameSpace('shell::follows:{4234d49b-0245-4df3-b780-3893943456e1}').Items() | Where-Object { $appnames -contains $.Name }).Verbs() | Where-Object {$.Name.replace('&','') -match 'Odepnij od paska'} | ForEach-Object {$_.DoIt()}
$appnames = @("Internet Explorer") ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | Where-Object { $appnames -contains $_.Name }).Verbs() | Where-Object {$_.Name.replace('&','') -match 'Odepnij od paska'} | ForEach-Object {$_.DoIt()}