PackageDeployment Module Help

Package Deployment Module

New-InternetLink Cmdlet

Version 4.0.0.5

New-InternetLink

Synopsis

Create Internet Shell Link

Syntax

New-InternetLink [-Description] <String> [-Url] <String> [[-WorkingDirectory] <String>] [-ComputerRelatedLink] [-ContinueOnError] [-ManageUserPortion] [-RunMinimized] [-Wow64] [[-Icon] <String>] [[-Folder] <String>] [[-Context] <String>] [<CommonParameters>]

Description

Use this command to create an Internet link.

Parameters

-ComputerRelatedLink <SwitchParameter>

Guarantees that the link is available to all users of a computer (e.g. by storing in the All Users profile).

Required

False

Position

Named

Accepts pipeline input

False

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

5

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

-Description <String>

Describes the link; the text will appear below the link.

Required

True

Position

0

Accepts pipeline input

False

-Folder <String>

Specifies the location where you want to create the link. The actual paths are read from the registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders.
Specifies the name of the folder where you want to create the link. If this specific folder does not yet exist, it will be created.

Required

False

Position

4

Accepts pipeline input

False

-Icon <String>

Displays the program icon. The name of the symbol file must not contain a comma.

Required

False

Position

3

Accepts pipeline input

False

-ManageUserPortion <SwitchParameter>

#TODO#

Required

False

Position

Named

Accepts pipeline input

False

-RunMinimized <SwitchParameter>

#TODO#

Required

False

Position

Named

Accepts pipeline input

False

-Url <String>

Specifies the URL address.

Required

True

Position

1

Accepts pipeline input

False

-WorkingDirectory <String>

Specifies the path to the program's working directory.

Required

False

Position

2

Accepts pipeline input

False

-Wow64 <SwitchParameter>

By default, the PackageDeployment module assumes to run in a 64-bit PowerShell process on 64-bit systems, and therefore defaults to the 64-bit application location (if different from the 32-bit application location) for file and registry accesses. If you want to access the 32-bit counterparts (in the file system %WinDir%\SysWOW64 instead of %WinDir%\System32, in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node instead of HKEY_LOCAL_MACHINE\SOFTWARE), use the -Wow64 switch.

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".