How to copy text from PowerShell
Solution 1:
Just select the text in the console window and press enter or the right mouse button. That selected text ends up in your clipboard.
Note that this will only work if QuickEdit mode is enabled for the console window. If it is not, then either enable it in the console window properties (System menu → Properties → Options) or enter Mark mode via System menu → Edit → Mark (Alt+Space, E, K on an English Windows).
Solution 2:
Or send the output of your command directly to clipboard using clip.exe For example,
Get-ChildItem C:\Test -recurse | Clip
Solution 3:
Go to the menubar, top left, Edit, Select All, Copy, paste in notepad