SharePoint 2013 - Enable PDF View in Browser

In this blog we will see how to enable an Adobe PDF document, that is to be opened in a browser. By default, SharePoint 2010 or SharePoint 2013, doesn't support this feature. But we can activate it by running the following PowerShell commands.
 
$webApplication = Get-SPWebApplication "http://EProductManagment"
$webAppApplication.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
$webApplication.Update()