windowscentral[.]com/software-apps/like-me-you-might-not-have-known-this-handy-windows-11-clipboard-terminal-trick-for-powershell-and-wsl
I [vaguely] remember the Pipe command -- "|" -- from way back when, but I haven't spent much time using any sort of command prompt for probably decades now. This article is maybe a good reminder... many of the commands you might enter using the Command Prompt or PowerShell will return information, sometimes several lines of info. Rather than selecting the text, then doing a copy/paste, appending "| Clip" [or Clip.exe for WSL] to the end of your command will automatically send the output to the clipboard, ready for you to paste wherever.