Misc updates

Updated function name matching
Removed here string as it's not really needed
Fixed scope name for cmdletbinding
Simplified param() matching and fixed scope name