Skip to main content
2 of 3
added 11 characters in body
Gatogordo
  • 20.3k
  • 2
  • 39
  • 100

Powershell - Add-ItemVersion

I want to create a new language version via Powershell (the item has no versions yet) but I'm not able to do so via Powershell... I'm not getting an error but the version is also NOT created

This is my snippet:

$path = "master:/sitecore/content/test"
$item = Get-Item -Path $path
Add-ItemVersion -Item $item -IfExist Append -TargetLanguage "fr-BE"

The item "sitecore/content/test" does exist but has no versions.