Since so many folks who most consider anti-Mormon whine the mantra "how do you know it was the Holy Spirit?" I am tempted to ask the same. But since describing the leading of the Holy Spirit is no as easy as it may seem I'll leave that alone. I thought I'd just comment since you speak as most LDS.
love,
stem