If you are using Windows Vista or better, you can pipe text to clip.exe to copy it to your clipboard: Dir $env:windir | clip Here is another approach that you can use if your PowerShell host uses the STA mode: function Set-Clipboard { param ( $text )...