Archive for November, 2011

Web Config Modifications using PowerShell in SharePoint 2010

Web Config Modifications using PowerShell

Add-PSSnapin Microsoft.SharePoint.PowerShell
$oWebApp = Get-SPWebApplication http://SP2010
$oWebConfig = New-Object -TypeName Microsoft.SharePoint.Administration.SPWebConfigModification
$ = “add[@key=’TEST’]”
$oWebConfig.path = “/configuration/appSettings”
$oWebConfig.value = “<add key=’TEST’ value=’My Test’ />”
$oWebConfig.owner = “oTest”
$oWebConfig.sequence = 0
$oWebConfig.type = [Microsoft.SharePoint.Administration.SPWebConfigModification+SPWebConfigModificationType]::EnsureChildNode

GO to C:\inetpub\wwwroot\wss\VirtualDirectories\80

Open Web.config file, Search with “TEST”, you will able to see <add key=’TEST’ value=’My Test’ />

Categories: Uncategorized

Sharepoint Timer Jobs

Central Admin–>Monitoring –>Timer Jobs –>Review job definitions

You can find your Job.
Click on the job.
You can find Last run time
Categories: Uncategorized

Crawl History in sharepoint 2010

Central Administration

Application Management –>Manage service applications
Click on Content Search Service Application (Not query)
You can find “Crawl History”.
Click on any row, you can find history
Categories: Uncategorized

Language Settings option is not available in Sharepoint

Categories: Uncategorized

Sharepoint 2010 Visual Upgrade

Visual Upgrade

Visual Upgrade

Sharepoint 2010 Visual Upgrade

Categories: Uncategorized

Not able to access Sharepoint Designer

Open blow URL, by replacing  yor server name and port number.


Check -Enable SharePoint Designer


Categories: Uncategorized

How to hide columns in Editfrom.Asp in SharePoint 2010

We can do using SharePoiny Designer and Using powerShell We can do.


We can see using powerShell

Open powershell and run as administrator…

Use below script

Remove-PSSnapin Microsoft.SharePoint.Powershell
Add-PSSnapin Microsoft.SharePoint.Powershell

$webUrl = “http://SP2010&#8221;
$web = Get-SPWeb $webUrl
$list = $web.Lists.TryGetList(“MyList”)

$fieldDisplayNames = “Test”,”Test1″
$showFields = $false

$fieldDisplayNames |foreach {

$spfield = $list.Fields[$_]
$spfield.ShowInEditForm = $showFields


Categories: Uncategorized