Configuring SMTP Service in SharePoint 2010 Server

http://blogs.msdn.com/b/pareshg/archive/2010/04/23/how-to-configure-incoming-and-outgoing-emails-in-sharepoint-server-2010.aspx

http://blog.fpweb.net/configuring-an-smtp-server-for-sharepoint/#.Vdrwy_mqqko

http://blogs.technet.com/b/tirumals/archive/2012/03/17/step-by-step-configuration-of-outgoing-emails-from-sharepoint-to-microsoft-online.aspx

http://blogs.technet.com/b/yashgoel-msft/archive/2014/03/06/configuring-outgoing-email-settings-for-sharepoint-with-exchange-online-aka-office365.aspx

Updating Group or Person field in a SharePoint 2013 custom list using a Powershell script

The PS script below loops through an SP 2013 custom list and update the Person or Group field.

—————————-

#Updating the SP2013 list item on the Group field.
Add-PSSnapin Microsoft.SharePoint.PowerShell

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") 
$site = new-object Microsoft.SharePoint.SPSite("<Site URL>") 
$relweburl = '/<relative web url>'
$web = $site.openweb($relweburl)
$list=$web.Lists["<list name>"]
$listItems = $list.Items
$listItemsTotal = $listItems.Count

 if($listItemsTotal -ne 0)
  {
    Write-Host("Number of Items found : "+$listItemsTotal )
    foreach($item in $listItems)
     { 
      $currentTitle = $item["<field name>"];
      $newApprover = $web.EnsureUser("<new username>")
      Write-Host("Current approver : "+$currentTitle )
 
       if($currentTitle -like "*<comparing username value>*") 
        { 
           Write-Host("Updated, "+$currentTitle+" with "+$newApprover)
           $item["Approver"] = $newApprover;
           $item.Update()
        } 
     }
  }
else
 {
  Write-Host("Nothing Found")
 }

In the script above, update the following placeholders:

  1. Site URL
  2. Relative Web URL
  3. List Name
  4. Field Name
  5. New Username
  6. Comparing username value

After editing the script with your values, save the script using (.ps1) extension and type the following line of code in Powershell console to execute the script.

* <path>\scriptname.ps1 

Hit enter to execute.

NB: Execute the script in your dev or test environment first before you execute it in your prod environment.

Moving SharePoint 2013 log files to a different drive

http://sharepoint2020.blogspot.com/2013/10/sharepoint-2013-move-logs-and.html 

SharePoint 2013 – Move logs and diagnostic files to D: volume

NOTE:  Path can be changed to any location, this is based on preference

  • Launch Central Admin
  • Click Monitoring
  • Click Configure diagnostic logging
  • Change path to:

D:\Program Files\Microsoft Shared\Web Server Extensions\15\LOGS

  • Click Configure usage and health data collection
  • Change path to:

D:\Program Files\Microsoft Shared\Web Server Extensions\15\LOGS