Reputation: 704
I have a set of power-shell scripts for managing the entire deployment. We migrated our entire codebase to Visual Studio Team Services (previously VS Online) and I am trying to get the entire deployment automation.
The steps I am following on high level are :
The issue I am facing is - none of the IIS Administration commands are executing on the remote machine. e.g. Remove-WebSite/Remove-WebAppPool are not working.
I do not see any error also being thrown by these commands.
Is there anything specific which needs to be enabled to run these commands.
NOTE : I am able to get the same scripts working fine when I run from the server directly. The issue is only when I am using the run 'powershell on target machine' on build steps of Team Services.
Upvotes: 0
Views: 135
Reputation: 33708
Based on your comment, the solution is run quickconfig on winrm and restart the machine.
Upvotes: 1