Last active
April 29, 2018 07:57
-
-
Save isaadansari/63bd6ee4a1a80b40dcc0113739f4bb1b to your computer and use it in GitHub Desktop.
Sitecore 9 prerequisites powershell commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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