There are two modes for the powershell console, one is the fast editing mode and the other is the standard mode.
To switch between Quick Edit Mode and Standard Mode, you can use the console title bar -> right-click -> Properties -> Options -> Edit Options.
Powershell Standard Mode
Only after right-clicking the selection marker can the copy and sticking function be realized.
Powershell Quick Editing Mode
You can select text in any rectangular area by right-clicking the mouse, and use the right-clicking on the mouse to achieve the copy function.