New answers tagged

0

I have updated your Sitecore PowerShell Script as shown below $path = "/sitecore/A/B/Home/Topics/Video"; $presentTime = [datetime]::Now; $video = "video"; Write-Host $presentTime; $items = Get-ChildItem -Path "master:" $path -Language 'en' -recurse Write-Host $items; foreach ($item in $items) { #$selectedItem = ...


1

Check the following script: $sourceContainer = "/sitecore/content/Home/from"; $destinationContainer = "/sitecore/content/Home/to"; function ProcessItem { param ( [Sitecore.Data.Items.Item]$item ) if((Get-Item -Path ($item.Paths.FullPath -replace $sourceContainer, $destinationContainer) -ErrorAction SilentlyContinue)) {...


Top 50 recent answers are included