One cool thing you can do with arrays is use them to hold the results of parsing a comma-separated value (CSV) file. With Windows Server 2003, you can easily create a CSV file from the event viewer. Right-click the log you are interested in, select Save As from the menu, and choose CSV File. Now, suppose you have a file such as a CSV (I included an application log from one of my test machines), and you’re trying to find out about MSI installer errors on that server. Well, you can try to weed through all those long lines of text or you can open it up in Microsoft Excel, or you can use a script to do the heavy lifting.