Rename SharePoint Web Application Name

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

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