Add support for config action in PowerShell

tested with automated testcases as well as manually.
Add copyright header