Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sitecore 9 prerequisites powershell commands
# Powershell Policy allow to run commands
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
# Add the Sitecore MyGet repository to PowerShell
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
# Install the Sitecore Install Framwork module
Install-Module SitecoreInstallFramework
# Install the Sitecore Fundamentals module (provides additional functionality for local installations like creating self-signed certificates)
Install-Module SitecoreFundamentals
# Update Module SitecoreInstallFramework
Update-Module SitecoreInstallFramework -Force
# Trusted reop PSGallery
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
# Trusted reop SitecoreGallery
Set-PSRepository -Name SitecoreGallery -InstallationPolicy Trusted
# Import the modules into your current PowerShell context (if necessary)
Import-Module SitecoreFundamentals
Import-Module SitecoreInstallFramework
# Checking prerequisites for sitecore installation framework
Get-InstalledModule
# if Sitecore.Pathfinder and Sqlsrever does not exist
Install-Module Sitecore.Pathfinder
Install-Module SqlServer
# Helpful commands to verify the prerequisites
$PSversiontable
Get-PSRepository
Get-InstalledModule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.