So I need to be able to name an Excel Tab the Current Year * 100 + Current Month + the text "(OSC)" for a result of this month being
201705 (OSC)
$ExcelWorksheet.Name = (get-date).Year * 100 + (get-date).Month ----- This Gives me the 201705
$ExcelWorksheet.Name = '(OSC)' ---- This Gives me the '(OSC')
$ExcelWorksheet.Name = (get-date).Year * 100 + (get-date).Month + ' (OSC)' ----- This gives me an error. I am assuming because it is trying to add instead of concatenate.
201705 (OSC)
$ExcelWorksheet.Name = (get-date).Year * 100 + (get-date).Month ----- This Gives me the 201705
$ExcelWorksheet.Name = '(OSC)' ---- This Gives me the '(OSC')
$ExcelWorksheet.Name = (get-date).Year * 100 + (get-date).Month + ' (OSC)' ----- This gives me an error. I am assuming because it is trying to add instead of concatenate.