New-Package
Creates a new Sitecore install package object.
Syntax
New-Package [-Name] <String>
Detailed Description
Creates a new Sitecore install package object that allows for further addition of items and files & further export to file.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Name <String>
Package name
Aliases
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Outputs
The output type is the type of the objects that the cmdlet emits.
Sitecore.Install.PackageProject
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE
Following example creates a new package, adds content/home item to it and saves it in the Sitecore Package folder+ gives you an option to download the saved package.
Related Topics
Import-Package
Last updated