8.01.2012

Visual Studio files and directories that should be in source control ignore list

1.  Solution user option files (*.suo).
2.  Project user option files (*.csproj.user)
3.  Web information files (*.csproj.webinfo)
4.  Bin directory
5.  Obj directory

6.21.2012

How to put project in SVN for the first time

1.  Create a new repository on the server.
2.  Create a directory on local computer.  In that directory, execute the following:
svn checkout --username myuser https://www.collabnet.company.com/svn/projectname
This checkouts the empty repository on the directory created.

3.  Copy the files to checkin into this directory.  Then add everything:
svn add *
4.  Lastly, commit:
svn commit -m "Initial Import"
SVN Basic Work Cycle: http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.update
SVN Cheat Sheet: http://www.abbeyworkshop.com/howto/misc/svn01/

5.04.2012

SharePoint 2010 PowerShell Commands

Add Windows PowerShell snap-in
sp> Add-PSSnapin microsoft.sharepoint.powershell
Load SPListFunctions (download from here)
sp> . .\SPListFunctions.ps1
Return all Lists
sp> Get-SPLists -url http://usbtmp8375msdev:9342/
Return information on specific list
sp> Get-SPList -url http://usbtmp8375msdev:9342/NDAGenerator/ -title "NDA Contents"

7.27.2011

List Down Websites in IIS

C:\>iisweb /query /s webservername

List Down Scheduled Tasks in Windows

C:\>schtasks /query /fo CSV /v /s servername > scheduledtask.csv