Skip to content

Instantly share code, notes, and snippets.

@hedipo
Last active May 22, 2018 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hedipo/4e21e8461c9c515cba27028eba6cc07c to your computer and use it in GitHub Desktop.
Save hedipo/4e21e8461c9c515cba27028eba6cc07c to your computer and use it in GitHub Desktop.
#PowerShell modules need to enable script execution
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force;
#Chocolatey
write-host "Installing Chocolatey module"
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
#BoxStarter depends of Chocolatey
write-host "Installing Boxstarter module"
CINST Boxstarter -y
#Nuget
write-host "Installing NuGet module"
Install-PackageProvider -Name NuGet -Force
#Sql Server module
write-host "Installing Sql Server module"
Install-Module -Name SqlServer -AllowClobber
choco install ssdt17
#SIF
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
Install-Module SitecoreInstallFramework -Force
Update-Module SitecoreInstallFramework
#confirm installation
Get-Module SitecoreInstallFramework –ListAvailable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment