I have moved to a new environment in order to run invoke-command I need to add sessionoption proxyaccesstype noproxy.
This works however when it comes to restart-computer and use -wait it times out on waiting for WinRM.
At this time the machine is up and connectable.
Summary of the new feature / enhancement
I have moved to a new environment in order to run invoke-command I need to add sessionoption proxyaccesstype noproxy. This works however when it comes to restart-computer and use -wait it times out on waiting for WinRM. At this time the machine is up and connectable.
Proposed technical implementation details (optional)
To add the parameter for the WinRM part of the script to use the same pssessionoption -proxyaxxesstype NoProxy