-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitecore Powershell - Install-UpdatePackage Cmdlet #73
Comments
Have you provided the -Path parameter? This is a positional parameter which Try this: On Mon, Aug 26, 2013 at 8:34 AM, sharprajat notifications@github.comwrote:
|
Hi Thanks for the quick response. I tried with -Path and got this error Sorry, can't find your command result. Well this is embarassing. Try again? What does this mean? Also, I would like to know the possible values that can be passed for -UpgradeAction and -InstallMode parameters. I just made a guess with 0 and 1. Rajat |
Hi Michael I keep getting this error "Sorry, can't find your command result. Well this is embarassing. Try again?" when I try to execute Install-UpdatePackage -Path "PackageName" -UpgradeAction 1 -InstallMode 1 –Verbose Changed the Execution Policy to RemoteSigned (Set-ExecutionPolicy RemoteSigned) and ran the command again without any luck. Is there anything that I am missing. Rajat |
I have version 2.2 installed and just tried this without any problems. Install-UpdatePackage -Path On Mon, Aug 26, 2013 at 11:26 AM, sharprajat notifications@github.comwrote:
|
I too have version 2.2 installed. No idea what's causing the error. Rajat Rajat Sharma | MCP .NET, MCTS MOSS 2007 Date: Mon, 26 Aug 2013 10:19:26 -0700 I have version 2.2 installed and just tried this without any problems. Install-UpdatePackage -Path "$apppath\sitecore\admin\packages\MyPackage.files.update" -UpgradeAction 1 -InstallMode 1 On Mon, Aug 26, 2013 at 11:26 AM, sharprajat notifications@github.comwrote:
— |
Can you provide your log file? On Mon, Aug 26, 2013 at 12:34 PM, sharprajat notifications@github.comwrote:
|
My 2 cents... From the log seems like the update went through. The Does that help? Could you verify? |
I've changed the message to:
As to discoverability of types... if you want to learn the values for parameters of any command just type it and press
|
I assume this is resolved as the log suggests. I'm closing it for the release reasons. If that is not the case, please re-open the issue or create a new one. |
Hi Michael / AdamNaj Is it possible to remove all the references to the log file (and if possible delete the log file from GitHub permanently) associated with this issue. The log file contains physical paths and somehow shows up in some search results, which according to our client is a potential security risk. I do not see a way to edit a post and delete the attachment. Also, not sure if doing that would remove it permanently from the GitHub. Please do the needful. Let me know if I can be of any help. Since, the client has pointed out this issue, it is very important for us to resolve it at the earliest. I hope you will understand and help. Best regards, |
Hey Rajat, I removed the comment containing the log. Hope this helps. |
Thank you Michael. This sure is a great help. Highly appreciate. |
Hi
I am trying to use Install-UpdatePackage Cmdlet in Sitecore Powershellinstall-update like this
install-updatepackage -UpgradeAction 0 -InstallMode 1 -verbose
and always get an error
writeErrorStream : True
Exception : System.Management.Automation.ParameterBindingException: Cannot bind positional parameters because no names were given.
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
TargetObject :
CategoryInfo : InvalidArgument: (:) [Install-UpdatePackage], ParameterBindingException
FullyQualifiedErrorId : AmbiguousPositionalParameterNoName,Cognifide.PowerShell.PowerShellIntegrations.Commandlets.Packages.InstallUpdatePackageCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {}
PSMessageDetails :
I am not sure what are the correct values for -UpgradeAction and -InstallMode parameters for this Cmdlet.
Is there a place where I can find some tutorials/examples.
Thanks
Rajat
The text was updated successfully, but these errors were encountered: