Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell on Windows #89

Open
Richienb opened this issue Apr 15, 2022 · 1 comment
Open

Powershell on Windows #89

Richienb opened this issue Apr 15, 2022 · 1 comment

Comments

@Richienb
Copy link
Contributor

Richienb commented Apr 15, 2022

Since Windows 7, Powershell has been pre-installed and contains Get-Clipboard and Set-Clipboard cmdlets:

Example of setting and getting clipboard contents in Powershell

There's also clip which copies to the clipboard.

Is this better than the custom pre-built binaries that are currently used?

@sindresorhus
Copy link
Owner

Not every system has PowerShell though. Admins can disable it. But I guess we could use this first and fall back to the custom one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants