Category filter
Script to copy text to clipboard on Windows 10 devices
Once a particular text is copied to the clipboard, the user can paste it multiple times at different places. The administrator can use Hexnode to deploy a script to store a given text on the clipboard of
Windows 10 devices. The clipboard will hold the value till another text is copied.
Batch Script
1 |
echo|set/p=”text_to_copy”|clip |
E.g. To copy the text hello to clipboard,
echo|set/p=”hello”|clip
Powershell Script
1 |
Set-Clipboard –Value “text” |
E.g. To copy the text hello to clipboard,
Set-Clipboard –Value “hello”
Need more help?