Rename SharePoint Web Application Name

$WA = SPWebApplication | where {$_.Name -match “OldName”}
$WA.Name =”NewName”
$WA.Update()
Get-SPWebApplication | where {$_.Name -match “NewName”}

Advertisements

Embed Smooth video in SP

<iframe width=”640″ height=”390″ src=”http://mediasite.com” frameborder=”0″ allowfullscreen></iframe>”

SharePoint Powershell command

Get-SPDatabase | select Name | out-file “list.txt”      —   give you the list of all the Content Database names in your SharePoint Farm into a file

SharePoint Powershell commands

Get-SPServiceInstance   – All services running on the farm
Stop-SPServiceInstance -Identity “service GUID”  – Stop service
Start-SPServiceInstance -Identity “service GUID”  – Start service

 

SharePoint: Delete Search Service Application

Get-SPDatabase

Stsadm -o deleteconfigurationobject -id %GUID%

SharePoint: Stopping Application Services

stop-spserviceinstance <GUID>
get-spserviceinstance

SharePoint 2010: The remote server returned an error: (503) Server Unavailable

Some of the Application Pools was stop.

Solution:  Start Application pool.