How to view name of the SharePoint sites which was created previous day? $w= Get-SpWeb http://yoursite $date=$w.created $old=($date.AddDays(-1)) Get-SPSite -Filter {$w.Created -eq $old}
Category Archives: PowerShell
PowerShell Tips for SQL Server
A Site Collection could not be created as the provided managed parth dose not exist
Creating one Content Database Per Site Collection In SharePoint 2010 using Windows PowerShell One of the most common problems I see in a client built SharePoint environment is multiple site collections comingled in the same content database. While this isn’t the end of the world, it’s a problem because SLAs, security, and even back strategiesContinue reading “A Site Collection could not be created as the provided managed parth dose not exist”
Download SharePoint 2010 prerequisites
How do I download all the the prerequisites files for SharePoint 2010 installation? Situation: I need to install SharePoint 2010 in DMZ and the server is not having any access to internet. Solution: Downloaded all prerequisites for SharePoint 2010 in Windows 7 computer which is connected to internet and transferred to the server which IContinue reading “Download SharePoint 2010 prerequisites”
Change SharePoint 2010 central admin port
How to change SharePoint 2010 central admin port using Power Shell? You can change the port central administration Port number using Power Shell command below If your Central Administration Port number is 8080 and you want to change to 8081 Set-SPCentralAdministration –Port 8081