Reference: http://poshcode.org/976
Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
PowerShell – Lock Workstation
This is a great script to add to a setup script to lock the workstation after everything is done or before everything starts Reference: http://poshcode.org/6037