Get-Package
Last updated
Loads the package definition (xml) from the specified path.
Get-Package [-Path] <String>
The Get-Package commands loads the package definition (xml) and returns the package project. Package definitions can be created by PowerShell scripts using the Export-Package command (without the -Zip parameter)
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Path to the package file. If the path is not absolute the path needs to be relative to the Sitecore Package path defined in the "PackagePath" setting and later exposed in the Sitecore.Shell.Applications.Install.PackageProjectPath
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
The output type is the type of the objects that the cmdlet emits.
Sitecore.Install.PackageProject
Help Author: Adam Najmanowicz, Michael West
The following assumes that the project file is located in the default package directory.
Import-Package
Last updated
PS master:\> Get-Package -Path myproject.xml