PackageDeployment Module Help

Package Deployment Module (DSM eScript Commands)

Show-PdToastMessage Cmdlet

Version 4.0.0.5

Show-PdToastMessage

Synopsis

Displays a Toast Notification.

Syntax

Show-PdToastMessage [[-Xml] <String[]>] [[-Title] <String>] [[-Selection] <String[]>] [[-ResultVariablePrefix] <String>] [[-Context] <String>] [[-Message] <String>] [[-Caption] <String>] [[-Button1] <String>] [[-Button2] <String>] [[-Button3] <String>] [[-ImagePlacement] <String>] [[-Image] <String>] [[-Textbox] <String>] [<CommonParameters>]

Description

Displays a Toast Notification.

Parameters

-Button1 <String>

The text of the first button.

Required

False

Position

4

Accepts pipeline input

False

-Button2 <String>

The text of the second button.

Required

False

Position

5

Accepts pipeline input

False

-Button3 <String>

The text of the third button.

Required

False

Position

6

Accepts pipeline input

False

-Caption <String>

The caption of the Toast Notification.

Required

False

Position

3

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

4

Accepts pipeline input

False

-Image <String>

The path to the image to be displayed.

Required

False

Position

8

Accepts pipeline input

False

-ImagePlacement <String>

Defines the placement of the image being used. Possible values are: Hero, AppLogoOverride

Required

False

Position

7

Accepts pipeline input

False

-Message <String>

The message to be displayed.

Required

False

Position

2

Accepts pipeline input

False

-ResultVariablePrefix <String>

Prefix for the generated property variables of the application.

Required

False

Position

3

Accepts pipeline input

False

-Selection <String[]>

The choices in the dropdown to be displayed.

Required

False

Position

10

Accepts pipeline input

False

-Textbox <String>

The placeholder text to be displayed in the textbox.

Required

False

Position

9

Accepts pipeline input

False

-Title <String>

The title of the Toast Notification.

Required

False

Position

1

Accepts pipeline input

False

-Xml <String[]>

The advanced Toast Notification content.

Required

False

Position

0

Accepts pipeline input

False

<CommonParameters>

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