With the release Windows PowerShell 5.1, I’ll show you today a cmdlet that displays the content of the Clipboard directly from PowerShell console.
The cmdlet Is:
Get-Clipboard
The best thing about this cmdlet Is that It keeps the format of the content In the clipboard and displays It as it is.
The cmdlet also allows to you to view the files In the clipboard using
Get-Clipboard -Format FileDropList