I am creating a Site Collection with this powershell command
$createdSite = New-SPSite -Url $SiteUrl -Name "Site Name" -Template "CMSPUBLISHING#0" -Language 1033 -OwnerAlias "spadmin"
It used to work some couple of hours ago with 2013 experience version but suddenly it has stopped working and sites are being created with 2010 experience version. No matter if I delete the Site Collection, Web Application, restart server, recreate the Web Application with different port and DataBase Name that always the 2010 version appears and in this way.
I have also tried to specify CompatibilityVersion -15 but no luck.
Does anyone have experienced a similar issue?
Some hours ago, it worked and now it only works if I select a different publishing template like BLANKINTERNET#0