Sorry. It made sense when I wrote it :)
$objWorksheet.Cells.SpecialCells(11).Activate()
The above is what I have come up with from my wussy google skills. I am trying to put my active cell to the last row in an excel document. I am wanting to create a log and have the script append every day to the log.
My ultimate goal is to have a powershell script scheduled to run every day that goes out and grabs drive data and SQL information. Basically I need to monitor all my sql servers so I can see their growth and if I need to add drive space before something breaks.
So, is the line above the best way to find the last row in a document?