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?
There are couple of method on how to backup the databases for the TFS server, we are going to discuss only the best approach in here. Don’ts Never backup just one database. Do not exercise this during the busy usage hours. As a best practice do take backup only by bring the services down. (This is to avoid… Read More How to backup Team Foundation Server 2010 Databases?
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?
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?
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 ?