Wednesday, September 28, 2011

Powershell Commands Part-2

Today i am going to update the next step of installation..... (its Uninsatllation ..... ha ha haaaa).

Steps arise when some modification on custom code on Dev. Environment and want to update production environment.


Step :1

//Unistall

stsadm -o deactivatefeature -filename Feature Folder Name\feature.xml -url http://domainname:port -force

//if activated
stsadm -o deactivatefeature -filename Feature Folder Name\feature.xml -url http://domainname:port -force


stsadm -o uninstallfeature -filename Feature Folder Name\feature.xml

stsadm -o retractsolution -name ******.wsp -local

//Optional
stsadm -o retractsolution -name ******.wsp -immediate -allcontenturls


stsadm -o deletesolution -name ******.wsp -override


Note : find your Featue Folder Name  from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\


Step :2

Follow the same sequence of Installation commands which mention on Part-1






No comments:

Post a Comment