PowerShell

Reading the Clipboard using Powershell

  PowerTip of the Day, from PowerShell.com:   What if you wanted to paste information from the clipboard? No sweat, here is a Get-Clipboard function that outputs any text held by the clipboard: function Get-Clipboard {  Add-Type -AssemblyName System.Windows.Forms  $tb = New-Object System.Windows.Forms.TextBox  $tb.Multiline = $true  $tb.Paste()  $tb.Text } In a previous tip we presented… Continue reading Reading the Clipboard using Powershell