New answers tagged

0

The issue caused by using both AzureRm and Az modules in the same session. So to resolve the issue AzureRm module was removed and script was modified to use only Az commands. Installed Powershell 7.1.3 Uninstalled AzureRM Module. Uninstall-AzureRm Installed the AZ Module. Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force Modified ...


1

Find the PowerShell Code below: #Define path you want to create sitecore Items $parentPath ="master:/sitecore/content/Helixbase/Models" #Read CSV file $importList = Import-CSV "C:\CSVFile\SampleCSVImport.csv" foreach ( $row in $importList ) { $name = $row.Title #Check if Title is not empty if($name.Trim() -eq "") ...


Top 50 recent answers are included