Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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