Article: http://www.lazywinadmin.com/2013/07/how-to-enable-copypaste-operations.html

DESCRIPTION

This function allows you to DISABLE Copy Paste operation between a Virtual Machine and your local machine.

VMware does not recommend this manipulation to avoid and limit Exposure of Sensitive Data Copied to the Clipboard section..

When using PowerCli, this setting can be applied without powering off the VM. However you'll need to do a stun/unstun operation (i.e. power on/off, suspend/resume, create/delete snapshot/storage VMotion) to achieve the same thing.

 

VERSION HISTORY

2013/10/23 - 1.0

  Initial Version

 

EXAMPLE

 

PowerShell
Edit|Remove
Disable-VMCopyPaste -VM W2012,lab1vc02 -verbose
This will disable the copy paste of the computers W2012 and lab1vc02
Additionally the script will show the verbose comments.