Copy current location to clipboard
2 answers
In PowerShell 5.0 and up, you can also use
(pwd).Path | scb
or
scb (pwd).Path
where scb is an alias for Set-Clipboard
Documentation is available at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-clipboard?view=powershell-5.1
+4
source to share