Search notes:

System.Windows.Clipboard (class)

System.Windows.Clipboard provides static methods for transferring data to and from the clipboard.
add-type -assemblyName PresentationCore
$clip = [Windows.Clipboard]::GetDataObject()
$clip.GetFormats()

Methods

Clear
ContainsAudio
ContainsData Checks if the clipboard contains data in a given format (see System.Widnows.DataFormats)
ContainsFileDropList
ContainsImage
ContainsText See also System.Windows.TextDataFormat
Flush
GetAudioStream
GetData
GetDataObject Returns an System.Windows.IDataObject which represents the entire contents of the Clipboard.
GetFileDropList
GetImage Returns a System.Windows.Media.Imaging.BitmapSource object.
GetText See also System.Windows.TextDataFormat
IsCurrent
SetAudio
SetData
SetDataAsJson
SetDataObject
SetFileDropList
SetImage
SetText
TryGetData

See also

System.Windows.Forms.Clipboard

Index