PowerShell scripts updated.

* Error traps added.
* Tracing added.
* Enable-TrustedHosts added to another YAML.
* JSON files updated.

Change-Id: I76414217fb8cb77575b8b36499b5dfb952adeb5f