-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
❔ questionNeed help solving a problem.Need help solving a problem.🌈 improvementExtra sugar and spice.Extra sugar and spice.
Milestone
Description
Hi
Is it possible to invoke Sitecore Powershell from a batch file?
I tried
powershell.exe Install-UpdatePackage -Path "Package.zip" -UpgradeAction 1 -InstallMode 1 –Verbose
but it returned an error "The term 'Install-UpdatePackage' is not recognized as the name of a cmdlet.
This makes sense since it is trying to invoke Windows Powershell and the cmdlet is not available.
How do I then call a Sitecore Powershell cmdlet from a bacth file. Not sure if this is even possible.
Rajat
Metadata
Metadata
Assignees
Labels
❔ questionNeed help solving a problem.Need help solving a problem.🌈 improvementExtra sugar and spice.Extra sugar and spice.