Reverting back to a simple get process and its modules with hashes.
Added a comment about the outer Try/Finally causing issues on PSv2 hosts.