<commit_before>Disable-UAC
Update-ExecutionPolicy Unrestricted
 
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-TaskbarOptions -Lock -Dock Left
 
Write-BoxstarterMessage "Setting Windows power plan to $preferredPlan" 
$guid = (Get-WmiObject -Class win32_powerplan -Namespace root\cimv2\power -Filter "ElementName='High performance'").InstanceID.tostring() 
$regex = [regex]"{(.*?)}$" 
$newpowerVal = $regex.Match($guid).groups[1].value
powercfg -S $newpowerVal
 
Write-BoxstarterMessage "Setting Standby Timeout to Never"
powercfg -change -standby-timeout-ac 0
powercfg -change -standby-timeout-dc 0
 
Write-BoxstarterMessage "Setting Monitor Timeout to Never"
powercfg -change -monitor-timeout-ac 0
powercfg -change -monitor-timeout-dc 0
 
Write-BoxstarterMessage "Setting Disk Timeout to Never"
powercfg -change -disk-timeout-ac 0
powercfg -change -disk-timeout-dc 0
 
Write-BoxstarterMessage "Turning off Windows Hibernation"
powercfg -h off
 
Write-BoxstarterMessage "Setting time zone to Central Standard Time"
& C:\Windows\system32\tzutil /s "Central Standard Time"

cinst 7zip
cinst SublimeText3
cinst SublimeText3.PackageControl
cinst sublimetext3-contextmenu
cinst googlechrome
cinst SourceCodePro
cinst wizmouse
cinst githubforwindows
cinst VisualStudio2013Ultimate -InstallArguments "/Features:'Blend WebTools Win8SDK SQL WindowsPhone80 SilverLight_Developer_Kit'"
cinst VSColorOutput
cinst resharper
cinst ncrunch2.vs2013
cinst editorconfig.vs
cinst NuGet.CommandLine
cinst msbuild.communitytasks
cinst wpfinspector
cinst console2
cinst wincommandpaste
# cinst Office365HomePremium
cinst hst

# Memory disk apps
cinst imdisk
cinst autoit #required by freefilesync
cinst freefilesync

hst add buildserver1 10.1.12.110
 
# This should be a search for CasPol.exe and then loop over all results
& C:\Windows\Microsoft.Net\Framework64\v4.0.30319\CasPol.exe -pp off -m -ag 1.2 -url file:///Z:/Projects/* FullTrust
& C:\Windows\Microsoft.Net\Framework\v4.0.30319\CasPol.exe -pp off -m -ag 1.2 -url file:///Z:/Projects/* FullTrust<commit_msg>Added Hide Main Menu VS extension<commit_after>Disable-UAC
Update-ExecutionPolicy Unrestricted
 
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-TaskbarOptions -Lock -Dock Left
 
Write-BoxstarterMessage "Setting Windows power plan to $preferredPlan" 
$guid = (Get-WmiObject -Class win32_powerplan -Namespace root\cimv2\power -Filter "ElementName='High performance'").InstanceID.tostring() 
$regex = [regex]"{(.*?)}$" 
$newpowerVal = $regex.Match($guid).groups[1].value
powercfg -S $newpowerVal
 
Write-BoxstarterMessage "Setting Standby Timeout to Never"
powercfg -change -standby-timeout-ac 0
powercfg -change -standby-timeout-dc 0
 
Write-BoxstarterMessage "Setting Monitor Timeout to Never"
powercfg -change -monitor-timeout-ac 0
powercfg -change -monitor-timeout-dc 0
 
Write-BoxstarterMessage "Setting Disk Timeout to Never"
powercfg -change -disk-timeout-ac 0
powercfg -change -disk-timeout-dc 0
 
Write-BoxstarterMessage "Turning off Windows Hibernation"
powercfg -h off
 
Write-BoxstarterMessage "Setting time zone to Central Standard Time"
& C:\Windows\system32\tzutil /s "Central Standard Time"

cinst 7zip
cinst SublimeText3
cinst SublimeText3.PackageControl
cinst sublimetext3-contextmenu
cinst googlechrome
cinst SourceCodePro
cinst wizmouse
cinst githubforwindows
cinst VisualStudio2013Ultimate -InstallArguments "/Features:'Blend WebTools Win8SDK SQL WindowsPhone80 SilverLight_Developer_Kit'"
cinst VSColorOutput
cinst resharper
cinst ncrunch2.vs2013
cinst editorconfig.vs
cinst NuGet.CommandLine
cinst msbuild.communitytasks
cinst wpfinspector
cinst console2
cinst wincommandpaste
# cinst Office365HomePremium
cinst hst

# Memory disk apps
cinst imdisk
cinst autoit #required by freefilesync
cinst freefilesync

hst add buildserver1 10.1.12.110

Install-ChocolateyVsixPackage "HideMainMenu" http://visualstudiogallery.msdn.microsoft.com/bdbcffca-32a6-4034-8e89-c31b86ad4813/file/18183/2/HideMenu.vsix
 
# This should be a search for CasPol.exe and then loop over all results
& C:\Windows\Microsoft.Net\Framework64\v4.0.30319\CasPol.exe -pp off -m -ag 1.2 -url file:///Z:/Projects/* FullTrust
& C:\Windows\Microsoft.Net\Framework\v4.0.30319\CasPol.exe -pp off -m -ag 1.2 -url file:///Z:/Projects/* FullTrust
{'fraction_non_alphanumeric': 0.0810530679933665, 'fraction_numerical': 0.030265339966832505, 'mean_word_length': 5.795774647887324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '866483', 'n_tokens_mistral': 1671, 'n_tokens_neox': 1502, 'n_words': 403}