# Create package $package = new-package "Sitecore Test Package"; # Set package metadata $package.Sources.Clear(); $package.Metadata.Author = "Mohd Tarique - Workstation Machine"; $package.Metadata.Publisher = "AIE Enterprise Inc"; $package.Metadata.Version = "2.19"; $package.Metadata.Readme = 'This text will be visible to people installing your package' $allItems = Get-ChildItem -Path 'master://sitecore/content/Terminix' -Recurse ForEach ($item in $allItems) { #Write-Host $item.FullPath $formattedItemPath