If you have a variable that you’d like to grab the value of and put it into the clipboard, the easiest way to do this is to pipe it to the built-in clip.exe
For example:
$env:Path | clip
The above will result in the contents of the ‘path’ environment variable being put into the clipboard.