Windows install keytool choco

broken image
broken image

OPTIONAL- The full absolute path to an icon file to be used for the new OPTIONAL - Additional arguments that should be passed along to the new Variable expansion like %AppData%\FooBar. The directory will be created unless it contains environment OPTIONAL - The full absolute path of the Working Directory that will be The full absolute path to the target for new shortcut. The full absolute path to where the shortcut should be created. # Creates a new notepad shortcut on the root of c: that starts TargetPath 'C:\Windows\System32\notepad.exe' ` # the shortcut, along with a description and arguments. # are being set to specify the working directory, an icon to be used for # This will create a new shortcut at the location of 'C:\notepad.lnk' Install-ChocolateyShortcut -ShortcutFilePath 'C:\test.lnk' -TargetPath 'C:\test.exe' # link to the file located at 'C:\text.exe'

broken image

# This will create a new shortcut at the location of 'C:\test.lnk' and Particular folder that SYSTEM doesn't have, it will display a warning instead If this errors, as it may if being run under the local SYSTEM account with This adds a shortcut, at the specified location, with the option to specifyĪ number of additional properties for the shortcut, such as Working Directory,Īrguments, Icon Location, and Description.

broken image

Creates a shortcut Syntax Install-ChocolateyShortcut `

broken image