I actually made a tool that does this, you can download the toolbox here:
It's one of multiple tools in the toolbox. The one you are looking for is called Create Grid Corner Points.Create Grid Corner Points
I'm actually not completely finished with it yet because it doesn't remove any duplication. I plan on adding that, I just haven't had time as an option.
But, give the tool a try, and let me know if it's what you're looking for. If it is, I'll add the code to remove any duplicate points.
Here's a screenshot of the parameters: