I have the following statement that will be used to output the data to an export file. How can I add three additional column headers? These headers do not correspond to any data from the script; I just need the headers in the file. They will be at the end (after L2MgrDept) and like to be labeled 30Days, 60Days, 90Days.
Well, I had attempted to add it as a property (Still learning PSCUSTOMOBJECT) . The properties I was trying to add was 30Days, 60Days, 90Days, 180Days. Kept getting flagged ‘Unexpected token ‘30Days’ in expression or statement.’ for each one. I believe that I just learned that properties can not begin with an integer, as I flipped them (Days30, Days60, Days90, etc) and it is accepting them. Is my assumption correct in this?
I believe that I may have an issue with VSCode. It is actually flagging it in VSCode (I didnt run it, just seeing the error notation). I tried it in Notepad++, and no error, and it ran fine. Thanks all.