code for bulk csv files in a directory to convert to xlsx : i use below code to convert from csv to xlsx. But it only convert single file at a time.I want this to convert all the files i directory at a time.

    	$xl = new-object -comobject excel.application
	$xl.visible = $true
	$Workbook = $xl.workbooks.open("$loglocation\errors_$server.csv")
	$Worksheets = $Workbooks.worksheets
	
	$Workbook.SaveAs("$loglocation\errors_$server.xls",1)
	$Workbook.Saved = $True
	
	$xl.Quit()
