Powershell: Set Mouse Pointer Scheme to NONE for XenDesktop VM's

Why to do this? Better user experience; reduced cpu load on zero client devices like xenith compared to aero mouse scheme. Powershell Script References Hey Scripting Guy! SystemParametersInfo

LockWorkstation using Powershell and pInvoke

Notes Keyword PUBLIC is a must, or else wont be able to call the native function. Unlike variables, Add-Type cant be changed once created in a powershell session. References http://msdn.microsoft.com/en-us/library/windows/desktop/aa376875(v=vs.85).aspx http://www.pinvoke.net/default.aspx/user32/LockWorkStation.html

Delete shortcut pointing to a specific URL

There will be cases where some users are asked to test a dev/training webapp. Few of these users tend to create shortcuts/bookmark to the dev/training webapp and still keep using the dev even after the webapp was rolled to production. Desktop guys to rescue to clean out these shortcuts or bookmarks 🙂