Closed pbolduc closed 9 years ago
I have removed the requirement to requiring the need to modify the ExecutionPolicy on the host. Almost all of powershell code is now executed as a script file using -ExecutionPolicy Bypass.
Trusted host list is now appended to and removed at the end. Any existing settings will be retained.
In a number of the steps, the host's environment is changed. For example, in step_set_remoting.go the PowerShell Remoting is set explicitly to the new VM's IP address. This will clobber any existing settings.
Better would be to track what was added and remove the added setting during cleanup.