Tuesday, 27 December 2016

SharePoint Server 2016 New Features and Deprecated Features

SharePoint Server 2016 New Features
1.       Fast Site Collection Creation
2.       MinRole- we can define each server’s role in a farm topology.
3.       Hybrid in SharePoint 2016
4.       Image and video previews
5.       Large file support, more than 2GB
6.       Document Library accessibility
7.       Filenames - expanded support for special characters
8.       New Recycle Bin in OneDrive and Team sites
9.       Open Document Format (ODF)
10.     Customized web parts

Deprecated or removed from SharePoint Server 2016
1.       Standalone Install mode
    SharePoint Server 2016 doesn't support the standalone install option
2.       ForeFront Identity Manager client (FIM)
    Earlier versions of SharePoint used ForeFront Identity Manager Client (FIM) to synchronize          between Active Directory and SharePoint. SharePoint Server 2016 no longer uses FIM as the    synchronization client.
3.       Excel Services in SharePoint
   Excel Services and its associated business intelligence capabilities are no longer hosted on    SharePoint Server.
4.       Tags and Notes
    The Tags and Notes feature is deprecated in SharePoint Server 2016. This means that users can still     create new tags and notes and access any existing ones.
5.       Stsadm.exe

    The Stsadm command-line tool has been deprecated, but it is included to support compatibility     with previous product versions.

Monday, 2 May 2016

What is a SharePoint site?

What is a SharePoint site?

A SharePoint site is a Web site that provides a central storage and collaboration space for documents, information, and ideas. A SharePoint site is a tool for collaboration, just like a telephone is a tool for communication, or a meeting is a tool for decision making. A SharePoint site helps groups of people (whether work teams or social groups) share information and work together. For example, a SharePoint site can help you: 

* Coordinate projects, calendars, and schedules.
* Discuss ideas and review documents or proposals.
* Share information and keep in touch with other people.

SharePoint sites are dynamic and interactive -- members of the site can contribute their own ideas and content as well as comment on or contribute to other people's.

Monday, 21 March 2016

Often used PowerShell Command for SharePoint Administrator.

PowerShell is vital governance tools for SharePoint.
These are the some PowerShell commands Every Administrator Should know.
Add PowerShell to ISE.
Command:  Add-PSSnapin Microsoft.SharePoint.PowerShell
1. Find an error from Correlation ID.
Command:  get-splogevent | ?{$_.Correlation -eq "<Correlation ID>"} | select  Category, Level, EventID,Message | Format-List > C:\Correlationerror.log
This Command list error message with Category, Level, EventID, Message in “C” drive by correlationerror name in notepad
2. Creating Site collection.
Command:  New-SPSite -Url "Your site url" -Name "MyTesting Site" -Template "STS#0" -OwnerAlias "Domain\owner" -Language 1033
This example creates an English site collection owned by owner with Team Site Template. Lots of parameter can add as per requirement.
3. Restore a deleted site collection.
Command:  Get-SPDeletedSite
This command lists all deleted site with WebApplicationId, DatabaseID, SiteSubscriptionID, SiteID, Path, Scheme, Url, DeletionTime parameter.
Restore-SPDeletedSite –Identity SiteID
Find Respective SiteID of deleted site collection from Get-SPDeletedSite
 and replace it to Restore-SPDeletedSite –Identity SiteID.
4. Export SharePoint List and library.
Command:  export-spweb -identity http://mytestsite -path c:\listName.cmp -itemurl   /Lists/EmployeeDetails –includeusersecurity  
http://mytestsiteà site collection name.
EmployeeDetails à List name.
c:\listName.cmp à save In C drive by listName with .cmp Extention.
5.Import SharePoint List
Command:  Import-SPWeb -identity "http:// mytestsite " -path c:\listName.cmp –force
"http:// mytestsite "  is Site collection name where have to  import.
c:\listName.cmp is path from where we have to import listName.
6. Backup SharePoint Site Collection.
Command:  Backup-SPSite –Identity http://MySiteCollection/ -Path C:\Backup\MysiteCollection.bak -Verbose
Note: Verbose use to see progress
7Restore SharePoint Site Collection.
Command:  Restore-SPSite –Identity http://MySiteCollection/ -Path C:\Backup\MysiteCollection.bak -Force -Verbose
8Backup SharePoint Farm
Command:  Backup-SPFarm -BackupMethod Full –Directory C:\FarmBackup\SPFarm
Note: Above command Backups the entire database.
             Or
Command:  Backup-SPFarm -BackupMethod Differential –Directory C:\FarmBackup\SPFarm
Note: Backs up only the changes made to the database since the last full backup. The differential backup method cannot be used to back up Index databases or Document Libraries. The Full backup method must be used to back up these resources
9Restore SharePoint Farm
Command:  Restore-SPFarm -Directory C:\FarmBackup -RestoreMethod overwrite
10Add Solution àAdds a SharePoint solution package to the farm.
Command:  Add-SPSolution C:\customsolution.wsp
C is directory and customsolution.wsp  is solution name.
11Install SharePoint Solution  à Deploy the SharePoint Solution in the Farm.
Command:  Install-SPSolution –Identity customsolution.wsp –WebApplication http://webapplicationsite  –GACDeployment
Note: If you are using the GAC or Code Access Security, Specify  either –GACDeployment or –CASPolicies.
 –WebApplication parameter applies for particular web application.
 If have to apply for all web application use –AllWebApplications (Hope manifest allow this) Or don’t add –WebApplication parameter. You can also use –Force parameter to force the deployment.
12Uninstall SharePoint solution
Command:  Uninstall-SPSolution –Identity customsolution.wsp –WebApplication http://webapplicationsite
13Update SharePoint Solution
Command:  Update-SPSolution –Identity customsolution.wsp –LiteralPath C:\customsolution.wsp –GACDeployment
14Remove SharePoint Solution.
Command:  Remove-SPSolution –Identity customsolution.wsp
15. Uploads a new sandboxed solution package to the solution gallery.
Command:  Add-SPUserSolution –LiteralPath c:\customsandboxsolution.wsp –Site http://mysitecollection
16Deploy Sandboxed solution.
Command:  Install-SPUserSolution –Identity customsandboxsolution.wsp –Site http://mysitecollection
17Upgrade existing Sandboxed solution.
Command:  Update-SPUserSolution –Identity customsandboxsolution.wsp –Site http://mysitecollection ToSolution customsandboxsolution2.wsp
18Uninstall Sandboxed Solution.
Command:  Uninstall-SPUserSolution –Identity customsandboxsolution.wsp –Site http://mysitecollection
19Remove Sandboxed solution package from the solution gallery.
Command:  Remove-SPUserSolution –Identity customsandboxsolution.wsp –Site http://mysitecollection
20Enable SharePoint Features
Command:  Enable-SPFeature –Identity FeatureNameOrGUID –Url http://your site name
21Disable SharePoint Features
Command:  Disable-SPFeature –Identity FeatureNameOrGUID –Url http://your site name

Thursday, 14 January 2016

SharePoint Admin Daily / Weekly / Monthly Activities

SharePoint  Admin Daily / Weekly / Monthly Activities
§  Managing and checking the overall server health and functionality
§  Monitoring SharePoint disk space usage through the built-in SharePoint reports for each site collection
§  Managing SharePoint permissions
§  Analyzing and reporting upon SharePoint usage and activity
§  Moving/copying sites
§  Supporting network load balancing needs and ensuring its correct operation (NLB)
§  Regular review of the events and messages reported in Event Viewer and Performance Monitor
§  Regular review, clean-up, management and configuration of SharePoint accounts and sites. This portion of the role will work closely with an Active Directory administrator if they are separated.
§  Regularly analysing SharePoint content and storage
§  Monitoring SharePoint trends (e.g. site usage and growth, disk space usage and growth)
§  Setting up alerts and enforcing policies
§  Regularly auditing your SharePoint environment
§  Identifying and reporting governance violations
§  Checking for operating system, SQL Server and SharePoint patches and cumulative updates.

One-time / First-time Farm Activities
1. Determine general patch approach for applying patches
2. Windows O/S (Windows Update)
3. SQL Server (Service Packs)
4. Document the overall system architecture
5. Document the disaster recovery plan for data center, server, or document recovery
6. Determine search architecture (What is indexed?, how often?, etc.)
7. Determine design continuity (What templates are used for each area)
8. Determine best practices for creation of Sites, Site Collections, and content databases
9. Determine strategy for business intelligence in SharePoint (upon dashboards, where is
the data stored?, how is it presented?, etc.)

10. Create SharePoint Service Level Agreement
11. Create best practices document for taxonomies
12. Create best practices document on security configuration
13. Create SharePoint roles document
14. Determine who can access the site (internal only? customers?)
15. Determine how partners and users will navigate the sit
16. Determine the process to request a site
17. Determine the process to request access to sites
18. Create best practices document to explain how and when to publish a document to a
global audience (should they be PDFs?)
19. Create feedback and/or suggestion mechanism for site enhancements
20. Determine naming conventions
21. Develop process for FAQ (users and help desk)
22. Develop training process
Daily Activities
1. Review Windows Event Logs for high-priority issues
2. Review the SharePoint Logs for high-priority issues
3. Monitoring Third party tool, Services, web sites, applications
Weekly Activities
1. Review Search Usage reports
2. Attempt searches upon typical end-user searches – verify they work properly
3. Verify Alerts are functioning properly
4. Enhance search through audit of Search patterns (implementation of noise words, best bets,
keywords, thesaurus entry, etc.)
5. Review and maintain current BI cubes and web parts (if applicable)
6. Audit server utilization (disk IO, disk space, CPU, etc.) and update baseline
7. Review past week questions and issues and update FAQ
8. Ensure off-site backup procedure working properly
Monthly Activities
1. Review overall server architecture based on current use
2. Audit individual server design (each server)
3. Review released patch list for Windows Operating System, SQL Server and SharePoint
4. Apply patches per the pre-defined patch approach
5. Review patches or maintenance to third party controls (web parts, iFilters, etc.)
4. Review overall server architecture diagrams and documentation for updates and revisions
5. Review search architecture for new areas to index, crawl or exclude
6. Report on SharePoint uptime and SLA compliance
7. Review security hierarchy
8. Review new functions or sites deployed. Determine if training needs to be updated
9. Verify backups are valid and contain data
Quarterly Activities
1. Review company disaster recovery plan
Annual Activities
1. Exercise a company disaster recovery plan