How to Run Power shell scripts on the remote machine?

Below is, one of the easiest way to execute a powershell scripts on the remote server – 3 simple steps. This method is used to run scripts on remote server with HTTP not HTTPS how-to-enable-powershell-remoting These instructions should be followed if not done before.  winrs -r:http://ServerB:80/wsman -u:”devdomain\myname.mani” -p:dontknow powershell.exe D:\spareparts\backup_site.ps1 Backup_Site.ps1 – This script is on… Read More How to Run Power shell scripts on the remote machine?

How to configure Build server with TFS in different domains?

5 Simple Steps to configure Build server with TFS source control server in different domain Create a local administrator account with same username on both the servers. Also, create the usernames with same password. Add the local administrator account to the “TFS build administrators” group. Make sure the ports 80, 8080 and 9191 is open between… Read More How to configure Build server with TFS in different domains?

How to move Data from Live to Test environments?

10 little steps to move database from live to dev environment  Backup live database—>Move the database to dev server—>Restore the .bak file in dev—>Randomise the database—>Sync users with SID—>Test connectivity from web server—>That works 🙂    Two different ways to achieve : Manual Automated Scripts Lets look at how we can make this happen using the scripts/batch process in an… Read More How to move Data from Live to Test environments?

How to configure Webdeploy 2.0 on web server for remote deployments ?

10 quick things, to enable remote deployment using web-deploy 2.0 check connectivity on port 8172 (default, can be changed as preferred) from deployment server to web server. If there is ports not available, please update the firewall rules. start->run->cmd->reg add HKLM\Software\Microsoft\WebManagement\Server /v WindowsAuthenticationEnabled /t REG_DWORD /d 1  Install ‘Microsoft Web Deploy v2’ (Can be downloaded from Http://www.microsoft.com/download/en/details.aspx?id=25230) In… Read More How to configure Webdeploy 2.0 on web server for remote deployments ?