win_tempfile: Rewrite using AnsibleModule (#48386)
win_tempfile: Rewrite using AnsibleModule (#48386)

* win_tempfile: Rewrite using AnsibleModule

* Fix up error check

* Fix PSParameterizedProperty issue

thaim/ansible,thaim/ansible