Skip to content

Instantly share code, notes, and snippets.

@iainbrighton
Created October 6, 2018 13:12
Show Gist options
  • Save iainbrighton/df321115738cdcd3f7219d1be58e21bd to your computer and use it in GitHub Desktop.
Save iainbrighton/df321115738cdcd3f7219d1be58e21bd to your computer and use it in GitHub Desktop.
## Prerequisites
## OneDrive configured and synchronised for Documents redirection
Enable-MicrosoftUpdate
Move-LibraryDirectory -libraryName Personal -NewPath ~\OneDrive\Documents
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -DisableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableExpandToOpenFolder
Update-ExecutionPolicy -Policy RemoteSigned
choco install Microsoft-Hyper-V-All --source windowsFeatures -y
cinst 7zip.install dropbox notepadplusplus.install -y
cinst googlechrome firefox vlc -y
cinst citrix-workspace git.install -y
## Install PowerShell modules
## ~\Dropbox\Modules is added to the PSModulePath via profile script
'PSake', 'InvokeBuild' | ForEach-Object {
if (-not (Get-Module -Name $_ -ListAvailable)) {
Install-Module -Name $_ -Scope AllUsers -Force -Verbose
}
}
## Always update PowerShellGet
Install-Module -Name PowerShellGet -Scope AllUsers -Force -Verbose
choco install vscode, visualstudio2017community -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment