Thursday, May 26, 2011

Famous SharePoint Sites

Reference:-http://www.wssdemo.com/Pages/topwebsites.aspx

Ferrari

http://www.ferrari.com/Pages/Country_Selector.aspx

Hawaiian Air
http://www.hawaiianair.com/

Swiss Air
http://www.swiss.com/web/EN/Pages/index.aspx?Country=GB


Starbucks Home Site
http://www.starbucks.com/

KPMG
http://www.kpmg.com/global/en/pages/default.aspx

Investors in People UK
http://www.investorsinpeople.co.uk/Pages/Home.aspx


Volvo cars
http://www.volvocars.com/Pages/default.aspx

UK NHS
http://www.nhs.uk/Pages/HomePage.aspx

British Army Jobs
http://www.army.mod.uk/join/join.aspx

U.S. Marine Corps
http://www.marines.mil/news/Pages/marinestv.aspx

Project Management Institute
http://www.pmi.org/

Tuesday, June 15, 2010

STSADM COMMANDS

Add Deploy Solution
pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
@echo Adding Solution....
stsadm -o addsolution -filename D:\03-Installtion\DownloadZippedItems\DownloadZippedItems.wsp
pause
@echo Deploying Solution....
stsadm -o deploysolution -name DownloadZippedItems.wsp -allowGacDeployment -local -force
pause

Deactivate Feature
echo Activating the feature...
pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
::Note: Uncomment these lines if you've modified your deployment xml files or IP forms
stsadm -o deactivatefeature -filename IGCustomList\feature.xml -url http://XXXX:2000/sites/siteprov -force
stsadm -o uninstallfeature -filename IGCustomList\feature.xml -Force
echo Doing an iisreset...
popd
iisreset

Deploy
@echo Deploying FBAManagement solution
@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%
@if "%1"=="http://XXXX:1111" (goto invalidParameters)

stsadm -o addsolution -filename FBAManagement.wsp
stsadm -o deploysolution -name FBAManagement.wsp -immediate -allowgacdeployment -force -url %1
stsadm -o execadmsvcjobs
stsadm -o installfeature -name SelfManagement -force
stsadm -o installfeature -name AdminManagement -force
stsadm -o activatefeature -name SelfManagement -url %1
stsadm -o activatefeature -name AdminManagement -url %1
@goto endOfBatch
:invalidParameters
@echo Please call with the correct parameters.
@echo The correct syntax of this command is:
@echo Deploy [siteurl]
:endOfBatch

Execute Timer Jobs
@Echo Execute Timer Jobs
stsadm -o execadmsvcjobs

Install Activate Feature
::pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
@if "%1"=="FacetedSearch\feature.xml "
@Echo Install Feature check in 12 hieve folder
stsadm -o installfeature -filename %1 -force
@Echo Activate Feature
stsadm -o activatefeature -filename %1 -url http://XXXX:1111/sites/demo -force
pause
::stsadm -o deactivatefeature -filename %1 -url http://XXXX:37288/sites/DestinationSite -force
::stsadm -o uninstallfeature -filename %1 –force

Install Feature
pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
::Note: Uncomment these lines if you've modified your deployment xml files or IP forms
::stsadm -o deactivatefeature -filename IGCustomList\feature.xml -url http://XXXX:2000/sites/test-2
stsadm -o uninstallfeature -filename IGCustList_9a10015d-3a89-44e2-943f-a15b72ffeecf\feature.xml -force
stsadm -o installfeature -filename IGCustList_9a10015d-3a89-44e2-943f-a15b72ffeecf\feature.xml –force
stsadm -o activatefeature -filename IGCustList_9a10015d-3a89-44e2-943f-a15b72ffeecf\feature.xml -url http://XXXX:2000/sites/test-2

Install WP
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm" -o addwppack -filename %1 -globalinstall -force
C:\InstallWP\recycle.js

Recycle.js
// get app pool name
var service = GetObject( "winmgmts:/root/MicrosoftIISv2" );
var appPools = service.ExecQuery(
"SELECT * FROM IIsApplicationPool "
);
var appPoolEnum = new Enumerator( appPools );
for( ; ! appPoolEnum.atEnd(); appPoolEnum.moveNext() )
{
appPoolEnum.item().Recycle;
}
WScript.Echo(".IIS Recycle complete");

Remove Solution
@ Echo Retracting Solution....
stsadm -o retractsolution -name DM3.wsp -local
stsadm.exe -o execadmsvcjobs
@Echo Removing Solution..
stsadm.exe -o deletesolution -name DM3.wsp
Site Backup
@ Echo Site Backup..
::pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
stsadm -o backup -url http://system9:222 -filename "D:\HoraceMann\HMPortal_Feb07.dat" -overwrite
pause

Site Restore
::pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
@ Echo Restoring Site.....
stsadm -o restore -url http://XXXX:6666/sites/BDC_Demo/Pages -filename 15102008backup.dat -directory c:\ -overwrite -Force
::stsadm -o restore -url -filename
Pause

UnDeploy
@echo Undeploying FBAManagement solution
@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%
@if "%1"=="" (goto invalidParameters)
stsadm -o deactivatefeature -name SelfManagement -url %1 -force
stsadm -o deactivatefeature -name AdminManagement -url %1 -force
stsadm -o uninstallfeature -name SelfManagement -force
stsadm -o uninstallfeature -name AdminManagement -force
stsadm -o retractsolution -name FBAManagement.wsp -immediate -url %1
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name FBAManagement.wsp -override
@goto endOfBatch
:invalidParameters
@echo Please call with the correct parameters.
@echo The correct syntax of this command is:
@echo Deploy [siteurl]
:endOfBatch

Remaining STS Commands....
1. stsadm -o activatefeature {-filename -name -id } [-url ] [-force]
2. stsadm -o activateformtemplate -url [-formid
] [-filename ]
3. stsadm -o addalternatedomain -url -incomingurl -urlzone -resourcename
4. stsadm -o addcontentdb -url -databasename [-databaseserver ] [-databaseuser ] [-databasepassword ] [-sitewarning ] [-sitemax ]
5. stsadm -o adddataconnectionfile -filename [-webaccessible ] [-overwrite ] [-category ]
6. stsadm -o add-ecsfiletrustedlocation -Ssp -Location -LocationType SharePointUncHttp -IncludeChildren TrueFalse [-SessionTimeout