Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Write-Clipboard

Write-Clipboard

pscx.dll

Synopsis

PSCX Cmdlet: Writes objects to the clipboard using their string representation, bypassing the default PowerShell formatting.

Syntax

Write-Clipboard [-Object] [-NoNewLine] [-Separator] [<CommonParameters>]

Detailed Description

Writes objects to the clipboard using their string representation, bypassing the default PowerShell formatting.

Parameters

-Object <Object>

Accepts an object as input to the cmdlet. Enter a variable that contains the objects or type a command or expression that gets the objects.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-NoNewLine <SwitchParameter>

Specifies that the content written to the clipboard does not end with a newline character.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Separator <Object>

String to output between objects written to the clipboard.

Aliases

None

Required?

false

Position

named

Default value

One space

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Get-Clipboard
Set-Clipboard
Out-Clipboard