Skip to main content
Improved formatting.
Source Link
Jeremy Caney
  • 7.8k
  • 115
  • 58
  • 86

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()} 

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 your Windows language version.

For a polish Win edition proper script to unpin Internet Explorer is as follow: $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()}

Thanks for the script. It took us a while before we figure out that it work only for English Windows language version.

You have to translate "Unpin from taskbar" to your Windows language version.

For a Polish Windows edition, the proper script to unpin Internet Explorer is as follows:

$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()} 
Source Link

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 your Windows language version.

For a polish Win edition proper script to unpin Internet Explorer is as follow: $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()}