For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-UDClipboard

Synopsis

Sets string data into the clipboard.

Syntax

Set-UDClipboard [-Data] <String> [-ToastOnSuccess] [-ToastOnError] [<CommonParameters>]

Description

Sets string data into the clipboard.

Parameters

-Data

The data to set into the clipboard.

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-ToastOnSuccess

Show a toast if the clipboard data was sent successfully.

-ToastOnError

Show a toast if the clipboard data was not sent successfully.

Common parameters

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Outputs

Examples

Example 1: Set Clipboard

Sets string data into the clipboard.

Last updated

Was this helpful?