Is it possible to install sitecore items packages in sitecore using Windows Powershell? The sitecore packages are created using "Package Designer" in sitecore. If possible, please help me with the powershell command. Please note here that we do not intend to use SPE module. Only Windows Powershell needs to be used.
-
You can check stackoverflow.com/questions/35588549/…– Gaurav AgarwalJul 3, 2020 at 11:02
-
I'm not aware of any ootb capabilities that expose this functionality outside a running instance of Sitecore.– Michael WestJul 3, 2020 at 12:15
-
may I know why you don't wanna go with Sitecore powershell extension?– Paulson MacleanJul 3, 2020 at 12:24
1 Answer
You can install an admin script that installs a package by calling an URL from Windows PowerShell. Be aware, it is today not very common to do that. The code is easy and adjustable so that's a plus.
There are some script available to do that, the do only the install part, not the upload, you can upload the package with other tools.
See InstallZipPackage.aspx on: https://github.com/jbluemink/Sitecore-Admin-Scripts-for-Development-and-Deploying or https://github.com/adoprog/Sitecore-Deployment-Helpers
An other options that may fit if you run on Azure, is converting the Package to a Web Deploy Packages https://doc.sitecore.com/developers/sat/24/sitecore-azure-toolkit/en/web-deploy-packages-for-a-module.html