Last active
November 30, 2015 20:25
-
-
Save ramarnat/2f249ec46d408b36d818 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-StrictMode -Version Latest | |
| Set-ExecutionPolicy Unrestricted | |
| $log = 'c:\boxstarter-boostrap.txt' | |
| Try | |
| { | |
| . C:\Users\Administrator\AppData\Roaming\Boxstarter\BoxstarterShell.ps1 | |
| Get-Module -ListAvailable | Add-Content $log | |
| Disable-InternetExplorerESC | |
| Add-Content $log -value "Disabled IE ESC" | |
| Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions | |
| Add-Content $log -value "Set Windows Explore Options" | |
| Set-TaskbarOptions -Size Small | |
| Add-Content $log -value "Set Task Bar Options" | |
| } | |
| Catch | |
| { | |
| "ERROR executing boxcutter: $_" | Add-Content $log | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment