Thanks jrv
I'm fighting with it on one issue: The ZIP file being moved exceeds the size limit allowed, so it throws a ...
Sending data to a remote command failed with the following error message: The current deserialized object size of the data received from the remote client computer exceeded the
allowed maximum object size. The current deserialized object size is 10572800.
So, I read that I can fix that with a config change, so I added this bit ...
Register-PSSessionConfiguration -Name DataNoLimits
Set-PSSessionConfiguration -Name DataNoLimits -MaximumReceivedDataSizePerCommandMB 500 -MaximumReceivedObjectSizeMB 500
and added -ConfigurationName DataNoLimits to the New_PSSession command
First, it complained with ...
dir : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests.
... and by hitting me with a popup that said something to the effect that the WMServ service was not running. I guess it restarted itself. That message went away on its own. Possibly the service went down when the file size crashed the connection or something.
It's moved to a new complaint now with that attempted config change ...
New-PSSession : [xxxxx.cloudapp.net] Connecting to remote server xxxxx.cloudapp.net failed with the following error message : The WS-Management service cannot process the
request. Cannot find the DataNoLimits session configuration in the WSMan: drive on the xxxxx.cloudapp.net computer. For more information, see the about_Remote_Troubleshooting
Help topic.
Luke