Last Updated on February 28, 2021 by sandeeppote
![Installation – Sandeep Pote](https://sandeeppote.com/wp-content/uploads/2021/01/2_image.png)
To run the multiple versions of Sitecore Installation Framework (SIF) first check the installed versions with following command-
Register the repository command followed by SIF List available command-
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
Get-Module SitecoreInstallFramework –ListAvailable
This should list the all the installed version of SIF
![sifv1](https://sandeeppote.com/wp-content/uploads/2021/01/sifv1-1.png)
In this case it shows 2.1.0 and 1.2.1 installed.
To list the version version that is currently in use, execute following command-
Get-Command -Module SitecoreInstallFramework | Select-Object -Property name, version
![sifv2](https://sandeeppote.com/wp-content/uploads/2021/01/sifv2.png)
Currently it shows v1.2.1 is active, to switch to the latest version i.e. 2.1.0 or any other version, run the following command-
Remove-Module -Name SitecoreInstallFramework
Import-Module -Name SitecoreInstallFramework -RequiredVersion 2.1.0
Now this should switch to the version 2.1.0
Hope this helps.
0 Comments
3 Pingbacks