Install-ChocolateyPinnedTaskBarItem

Install-ChocolateyPinnedTaskBarItem

Install-ChocolateyPinnedTaskBarItem

Creates an item in the task bar linking to the provided path.

Syntax

Install-ChocolateyPinnedTaskBarItem `
  -TargetFilePath <String> `
  [-IgnoredArguments <Object[]>] [<CommonParameters>]

Notes

Does not work with SYSTEM, but does not error. It warns with the error message.

Aliases

None

Examples

EXAMPLE 1


# This will create a Visual Studio task bar icon.
Install-ChocolateyPinnedTaskBarItem -TargetFilePath "${env:ProgramFiles(x86)}\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"

Inputs

None

Outputs

None

Parameters

-TargetFilePath <String>

PropertyValue
Aliases
Required?true
Position?1
Default Value
Accept Pipeline Input?false

-IgnoredArguments [<Object[]>]

PropertyValue
Aliases
Required?false
Position?named
Default Value
Accept Pipeline Input?false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/p/?LinkID=113216 .

Function Reference

:choco-info: NOTE

This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Install-ChocolateyPinnedTaskBarItem -Full.

View the source for Install-ChocolateyPinnedTaskBarItem