Wednesday, May 3, 2017

List of all web parts used on SharePoint 2013 pages using PowerShell

The following PowerShell will give text file for all web parts found on existing pages of SharePoint 2013.

[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")

[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Publishing")

 function ListWebParts($web) {

if ([Microsoft.SharePoint.Publishing.PublishingWeb]::IsPublishingWeb($web))

{

$webPublish = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web)

$pages = $webPublish.GetPublishingPages()

 

foreach($page in $pages)

{

$manager = $web.GetLimitedWebPartManager($page.Url, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)

$webCollection = $manager.WebParts

if($webCollection.Count -ne 0)

{

for($i =0;$i -lt $webCollection.Count; $i++)

{

$sw.writeline($web.url + "/" + $page.url + ";" + $webCollection[$i].GetType().Name + ";" +    $webCollection[$i].Title)

}

}

}

}

}

 

function LoadSPSite()

{

$siteURL = "http://www.sharepointsitepath/"

$site = New-Object Microsoft.SharePoint.SPSite($siteURL)

 

foreach($web in $site.allwebs)

{

write-output $web.Title

ListWebParts($web)

}

$site.Dispose()

}

 

$sw = [System.IO.StreamWriter] "C:\UsedControls\UsedControlDetails.txt"

$sw.writeline("Page URL;Web Part Type;Web Part Title")

LoadSPSite

$sw.close()

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


Error: The tool was unable to download Microsoft SQL Server 2012 Native Client. Please check your Internet connection and try again. SharePoint 2016 Prerequisite installer. Best Practice for disposing objects in SharePoint Development

Error: The tool was unable to download Microsoft SQL Server 2012 Native Client. Please check your Internet connection and try again. SharePoint 2016 Prerequisite installer.

 1.      On the server, open IE and go to www.microsoft.com.

2.      Pop up box will open that say "Content from website listed below is being blocked by Internet Explorer Enhanced Security Configuration".  Uncheck the box that says "Continue to prompt when website content is blocked"


Website Content Blocked

3.      Open IE settings (gear) > Internet Options > Security tab. Click on trusted sites. In the zones, Click sites and then type https://*.microsoft.com to the trusted websites and then click add. 

4.      Close IE

5.      Retry installing prerequisites.

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


How to get SharePoint 2013 Product key from current SharePoint 2013 Server List of all web parts used on SharePoint 2013 pages using PowerShell

Monday, May 1, 2017

How to get SharePoint 2013 Product key from current SharePoint 2013 Server

Open command prompt and run following script to retrieve your SharePoint product key from the SharePoint 2013 Server

function Get-SP-2013-ProductKey {

$map="BCDFGHJKMPQRTVWXY2346789"

$value = (get-itemproperty "HKLM:\SOFTWARE\Microsoft\Office\15.0\Registration\{90150000-110D-0000-1000-0000000FF1CE}").digitalproductid[0x34..0x42]

$ProductKey = ""

for ($i = 24; $i -ge 0; $i--) {

$r = 0

for ($j = 14; $j -ge 0; $j--) {

$r = ($r * 256) -bxor $value[$j]

$value[$j] = [math]::Floor([double]($r/24))

$r = $r % 24

}

$ProductKey = $map[$r] + $ProductKey

if (($i % 5) -eq 0 -and $i -ne 0) {

$ProductKey = "-" + $ProductKey

}

}

$ProductKey

}

#Call function

Get-SP-2013-ProductKey


 

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


How to get current SharePoint farm Passphrase Error: The tool was unable to download Microsoft SQL Server 2012 Native Client. Please check your Internet connection and try again. SharePoint 2016 Prerequisite installer.

Sunday, April 30, 2017

How to get current SharePoint farm Passphrase

Run the following PowerShell to reset your SharePoint Passphrase

$passphrase = ConvertTo-SecureString -String “YourPassphrase” -asPlainText -Force

Set-SPPassPhrase -PassPhrase $passphrase –Confirm



Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


How to fix SharePoint 2013 Exception System.ServiceModel.FaultException How to get SharePoint 2013 Product key from current SharePoint 2013 Server

Thursday, March 30, 2017

How to fix SharePoint 2013 Exception System.ServiceModel.FaultException

Exception Details: System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.]

   Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response) +1161205

   Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) +73

   Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) +36

   Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) +26405809

   Microsoft.SharePoint.SPSecurityContext.SecurityTokenForFormsAuthentication(Uri context, String membershipProviderName, String roleProviderName, String username, String password) +26406316

   Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage.GetSecurityToken(Login formsSignInControl) +188

   Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage.AuthenticateEventHandler(Object sender, AuthenticateEventArgs formAuthenticateEvent) +123

   System.Web.UI.WebControls.Login.AttemptLogin() +152

   System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +124

   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70

   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

Solution:

Step to follows:

Open IIS (Internet Information Server) 

Navigate to Application Pools

Click on SecurityTokenServiceApplicationPool

Action panel Click on Recycle..

   In short to fix just need to restart the app pool for security Token Services on the server which is affected

 

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


How to move a SharePoint 2013 subsite within Site Collection How to get current SharePoint farm Passphrase

Tuesday, March 28, 2017

How to move a SharePoint 2013 subsite within Site Collection

Method 1: By using SharePoint Site User Interface

Steps are as follows

Login the SharePoint Site; click 'Site Actions' -> 'Site Settings'.

Click on "Content and structure" Under Site Administration link
Select Site to Move >> Click on Actions >> Choose Move

Select the Target Site to Move your site,

 Click OK to start move operation
Note: This feature only available if Publishing feature enabled.


Method 2: By using Power Shell

1. Open SharePoint 2013 Management Shell.

2. Run the following Shell

$web=Get-SpWeb "Source site url"

$web.AllowUnsafeUpdates=$true

#Set the Target URL

$web.ServerRelativeUrl="Destination site url"

$web.AllowUnsafeUpdates=$false

$web.update 


 

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


How to hide SharePoint 2013 ribbon on list display form How to fix SharePoint 2013 Exception System.ServiceModel.FaultException

How to hide SharePoint 2013 ribbon on list display form

 Step by step Remove SharePoint 2013 ribbon on list display form

Follow the steps

1.      Open SharePoint Designer and click on Open Site.


SharePoint Designer


2.      Enter site URL and click open to open your site.


Open Site


3.      SharePoint Designer 2013 opens the site and display site Name, List and Libraries.

SharePoint Site


4.      Click on  List and Libraries.


List and Libraries


5.      Click on the list.

6.      Click display .aspx on Form right side panels 

7.      Add following code to your aspx form

<style type="text/css">

#s4-ribbonrow {

display: none;

}

         </style>


Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


List of PowerShell Commands in SharePoint 2013 Part 8 How to move a SharePoint 2013 subsite within Site Collection

Wednesday, February 8, 2017

List of PowerShell Commands in SharePoint 2013 Part 8

 Following are the List of last SharePoint 2013 PowerShell:


Sn.
PowerShell Name
Definition
701
Set-SPTranslationServiceApplicationProxy
Set-SPTranslationServiceApplicationProxy [-Identity]
             <TranslationServiceApplicationProxyPipeBind> [-MaximumGroupSize
             <int>] [-MaximumItemCount <int>] [-DefaultProxyGroup]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



702
             Set-SPTranslationThrottlingSetting [-SiteQuota <int>]
             [-TenantQuota <int>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



703
             Set-SPTrustedIdentityTokenIssuer [-Identity]
             <SPTrustedIdentityTokenIssuerPipeBind> [-Description <string>]
             [-ImportTrustCertificate <X509Certificate2>] [-ClaimsMappings
             <SPClaimMappingPipeBind[]>] [-SignInUrl <string>] [-ClaimProvider
             <SPClaimProviderPipeBind>] [-Realm <string>] [-UseWReply]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Set-SPTrustedIdentityTokenIssuer [-Identity]
             <SPTrustedIdentityTokenIssuerPipeBind> [-Description <string>]
             [-MetadataEndPoint <uri>] [-ClaimsMappings
             <SPClaimMappingPipeBind[]>] [-SignInUrl <string>] [-ClaimProvider
             <SPClaimProviderPipeBind>] [-Realm <string>] [-UseWReply]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



704
             Set-SPTrustedRootAuthority [-Identity]
             <SPTrustedRootAuthorityPipeBind> [-Certificate
             <X509Certificate2>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
            
             Set-SPTrustedRootAuthority [-Identity]
             <SPTrustedRootAuthorityPipeBind> [-MetadataEndPoint <uri>]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



705
Set-SPTrustedSecurityTokenIssuer [-Identity]
             <SPTrustedSecurityTokenServicePipeBind> [-Description <string>]
             [-RegisteredIssuerName <string>] [-MetadataEndPoint <uri>]
             [-IsTrustBroker] [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]
            
             Set-SPTrustedSecurityTokenIssuer [-Identity]
             <SPTrustedSecurityTokenServicePipeBind> [-Description <string>]
             [-RegisteredIssuerName <string>] [-Certificate
             <X509Certificate2>] [-IsTrustBroker] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



706
             Set-SPTrustedServiceTokenIssuer [-Identity]
             <SPTrustedServiceTokenIssuerPipeBind> [-Description <string>]
             [-Certificate <X509Certificate2>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
            
             Set-SPTrustedServiceTokenIssuer [-Identity]
             <SPTrustedServiceTokenIssuerPipeBind> [-Description <string>]
             [-MetadataEndPoint <uri>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



707
             Set-SPUsageApplication [-Identity] <SPUsageApplicationPipeBind>
             [-UsageService <SPUsageServicePipeBind>] [-DatabaseServer
             <string>] [-DatabaseName <string>] [-DatabaseUsername <string>]
             [-DatabasePassword <securestring>] [-EnableLogging]
             [-FailoverDatabaseServer <string>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



708
Set-SPUsageDefinition [-Identity] <SPUsageDefinitionPipeBind>
             [-Enable] [-DaysRetained <int>] [-DaysToKeepUsageFiles <int>]
             [-MaxTotalSizeInBytes <long>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



709
             Set-SPUsageService [[-Identity] <SPUsageServicePipeBind>]
             [-UsageLogMaxSpaceGB <uint32>] [-UsageLogLocation <string>]
             [-UsageLogCutTime <uint32>] [-UsageLogMaxFileSizeKB <uint32>]
             [-LoggingEnabled <bool>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



710
             Set-SPUser [-Identity] <SPUserPipeBind> [-Web <SPWebPipeBind>]
             [-Group <SPGroupPipeBind>] [-DisplayName <string>] [-SyncFromAD]
             [-AddPermissionLevel <string[]>] [-RemovePermissionLevel
             <string[]>] [-ClearPermissions] [-PassThru] [-Email <string>]
             [-IsSiteCollectionAdmin] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
711
Set-SPVisioExternalData -VisioServiceApplication
             <SPVisioServiceApplicationPipeBind>
             -UnattendedServiceAccountApplicationID <string>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



712
Set-SPVisioPerformance -VisioServiceApplication
             <SPVisioServiceApplicationPipeBind> -MaxDiagramSize <long>
             -MinDiagramCacheAge <int> -MaxDiagramCacheAge <int>
             -MaxRecalcDuration <int> -MaxCacheSize <long>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



713
Set-SPVisioSafeDataProvider -VisioServiceApplication
             <SPVisioServiceApplicationPipeBind> -DataProviderId <string>
             -DataProviderType <int> -Description <string>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



714
             Set-SPVisioServiceApplication [-Identity]
             <SPVisioServiceApplicationPipeBind> [-ServiceApplicationPool]
             <SPIisWebServiceApplicationPoolPipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



715
             Set-SPWeb [-Identity] <SPWebPipeBind> [-RelativeUrl <string>]
             [-Description <string>] [-Template <SPWebTemplatePipeBind>]
             [-Theme <string>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



716
Set-SPWebApplication [-Identity] <SPWebApplicationPipeBind>
             [-DefaultTimeZone <int>] [-DefaultQuotaTemplate <string>]
             [-ServiceApplicationProxyGroup
             <SPServiceApplicationProxyGroupPipeBind>] [-Force]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Set-SPWebApplication [-Identity] <SPWebApplicationPipeBind> -Zone
             <SPUrlZone> [-AuthenticationProvider
             <SPAuthenticationProviderPipeBind[]>] [-AdditionalClaimProvider
             <SPClaimProviderPipeBind[]>] [-SignInRedirectURL <string>]
             [-SignInRedirectProvider <SPTrustedIdentityTokenIssuerPipeBind>]
             [-AuthenticationMethod <string>] [-Force] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
            
             Set-SPWebApplication [-Identity] <SPWebApplicationPipeBind>
             -SMTPServer <string> [-OutgoingEmailAddress <string>]
             [-ReplyToEmailAddress <string>] [-Force] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



717
             Set-SPWebApplicationHttpThrottlingMonitor [-Identity]
             <SPWebApplicationPipeBind> [-Category] <string> [-Counter]
             <string> [-Instance <string>] [-UpperLimit <double>] [-LowerLimit
             <double>] [-HealthScoreBuckets <double[]>] [-IsDESC]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



718
             Set-SPWOPIBinding [-Identity] <SPWopiBindingPipeBind>
             -DefaultAction [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]



719
Set-SPWOPIZone [[-Zone] <string>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



720
Set-SPWordConversionServiceApplication [-Identity]
             <WordServiceApplicationPipeBind> [-DatabaseName <string>]
             [-DatabaseCredential <pscredential>] [-DatabaseServer <string>]
             [-TimerJobFrequency <int>] [-ConversionTimeout <int>]
             [-MaximumConversionAttempts <int>] [-KeepAliveTimeout <int>]
             [-MaximumConversionTime <int>] [-MaximumSyncConversionRequests
             <int>] [-ConversionsPerInstance <int>] [-DisableEmbeddedFonts]
             [-DisableBinaryFileScan] [-RecycleProcessThreshold <int>]
             [-ActiveProcesses <int>] [-MaximumMemoryUsage <int>]
             [-ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>]
             [-AddSupportedFormats <string[]>] [-RemoveSupportedFormats
             <string[]>] [-ClearSupportedFormats] [-MaximumGroupSize <int>]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
721
Set-SPWorkflowConfig [-WebApplication] <SPWebApplicationPipeBind>
             [-EmailNoPermissionParticipantsEnabled <bool>]
             [-SendDocumentToExternalParticipants <bool>]
             [-DeclarativeWorkflowsEnabled <bool>] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]
            
             Set-SPWorkflowConfig [-SiteCollection] <SPSitePipeBind>
             [-EmailNoPermissionParticipantsEnabled <bool>]
             [-SendDocumentToExternalParticipants <bool>]
             [-DeclarativeWorkflowsEnabled <bool>] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]



722
Set-SPWorkManagementServiceApplication [-Identity]
             <SPWorkManagementServiceCmdletPipeBind> [-ApplicationPool
             <SPIisWebServiceApplicationPoolPipeBind>] [-Name <string>]
             [-MinimumTimeBetweenProviderRefreshes <timespan>]
             [-MinimumTimeBetweenSearchQueries <timespan>]
             [-MinimumTimeBetweenEwsSyncSubscriptionSearches <timespan>]
             [-NumberOfUsersPerEwsSyncBatch <uint32>]
             [-NumberOfUsersEwsSyncWillProcessAtOnce <uint32>]
             [-NumberOfSubscriptionSyncsPerEwsSyncRun <uint32>]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



723
Set-SPWorkManagementServiceApplicationProxy [-Identity]
             <SPWorkManagementServiceProxyCmdletPipeBind> [-DefaultProxyGroup]
             [-Name <string>] [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]



724
             Split-SPScaleOutDatabase -NewDatabaseName <string>
             -SourceDatabase <SPDatabasePipeBind> -SourceServiceApplication
             <SPServiceApplicationPipeBind> [-NewDatabaseServer <string>]
             [-NewDatabaseFailoverServer <string>] [-NewDatabaseCredentials
             <pscredential>] [-SourcePercentage <int>] [-MoveLowerHalf]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Split-SPScaleOutDatabase -TargetDatabase <SPDatabasePipeBind>
             -SourceDatabase <SPDatabasePipeBind> -SourceServiceApplication
             <SPServiceApplicationPipeBind> [-SourcePercentage <int>]
             [-MoveLowerHalf] [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]



725
             Split-SPServerScaleOutDatabase -NewDatabaseName <string>
             -SourceDatabase <SPDatabasePipeBind> -SourceServiceApplication
             <SPServiceApplicationPipeBind> [-NewDatabaseServer <string>]
             [-NewDatabaseFailoverServer <string>] [-NewDatabaseCredentials
             <pscredential>] [-SourcePercentage <int>] [-MoveLowerHalf]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Split-SPServerScaleOutDatabase -TargetDatabase
             <SPDatabasePipeBind> -SourceDatabase <SPDatabasePipeBind>
             -SourceServiceApplication <SPServiceApplicationPipeBind>
             [-SourcePercentage <int>] [-MoveLowerHalf] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



726
Start-SPAdminJob [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]



727
             Start-SPAssignment [-Global] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]



728
Start-SPContentDeploymentJob [-Identity]
             <SPContentDeploymentJobPipeBind> [-WaitEnabled] [-DeploySinceTime
             <string>] [-TestEnabled] [-UseSpecificSnapshot <string>]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



729
             Start-SPDiagnosticsSession [-CorrelationId <guid>] [-Dashboard]
             [-TraceLevel <string>] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]



730
             Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance
             [-Identity] <SearchQueryAndSiteSettingsServiceInstancePipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
731
             Start-SPEnterpriseSearchServiceInstance [-Identity]
             <SearchServiceInstancePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



732
             Start-SPInfoPathFormTemplate [-Identity] <SPFormTemplatePipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



733
             Start-SPServiceInstance [-Identity] <SPServiceInstancePipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



734
Start-SPTimerJob [-Identity] <SPTimerJobPipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



735
             Stop-SPAssignment [[-SemiGlobal] <SPAssignmentCollection>]
             [-Global] [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



736
Stop-SPDiagnosticsSession [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]



737
             Stop-SPDistributedCacheServiceInstance [-Graceful]
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



738
Stop-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance
             [-Identity] <SearchQueryAndSiteSettingsServiceInstancePipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



739
             Stop-SPEnterpriseSearchServiceInstance [-Identity]
             <SearchServiceInstancePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



740
Stop-SPInfoPathFormTemplate [-Identity] <SPFormTemplatePipeBind>
             [-TimeLeft <int>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
741
             Stop-SPServiceInstance [-Identity] <SPServiceInstancePipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



742
Suspend-SPEnterpriseSearchServiceApplication [-Identity]
             <SearchServiceApplicationPipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



743
Suspend-SPStateServiceDatabase [-Identity]
             <SPStateDatabasePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



744
Test-SPContentDatabase [-Identity] <SPContentDatabasePipeBind>
             [-ServerInstance <SPDatabaseServiceInstancePipeBind>]
             [-DatabaseCredentials <pscredential>] [-ShowRowCounts]
             [-ShowLocation] [-ExtendedCheck] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]
            
             Test-SPContentDatabase -Name <string> -WebApplication
             <SPWebApplicationPipeBind> [-ServerInstance
             <SPDatabaseServiceInstancePipeBind>] [-DatabaseCredentials
             <pscredential>] [-ShowRowCounts] [-ShowLocation] [-ExtendedCheck]
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



745
Test-SPInfoPathFormTemplate [-Path] <string>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



746
             Test-SPSite [-Identity] <SPSitePipeBind> [-RuleId <guid>]
             [-RunAlways] [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



747
             Uninstall-SPAppInstance -Identity <SPAppInstance>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



748
Uninstall-SPDataConnectionFile [-Identity]
             <SPDataConnectionFilePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



749
             Uninstall-SPFeature [-Identity] <SPFeatureDefinitionPipeBind>
             [-Force] [-CompatibilityLevel <int>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



750
Uninstall-SPHelpCollection -Name <string> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
751
             Uninstall-SPInfoPathFormTemplate [-Identity]
             <SPFormTemplatePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



752
Uninstall-SPSolution [-Identity] <SPSolutionPipeBind> [-Time
             <string>] [-Local] [-Language <uint32>] [-CompatibilityLevel
             <string>] [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]
            
             Uninstall-SPSolution [-Identity] <SPSolutionPipeBind>
             -WebApplication <SPWebApplicationPipeBind> [-Time <string>]
             [-Local] [-Language <uint32>] [-CompatibilityLevel <string>]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Uninstall-SPSolution [-Identity] <SPSolutionPipeBind>
             -AllWebApplications [-Time <string>] [-Local] [-Language
             <uint32>] [-CompatibilityLevel <string>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



753
Uninstall-SPUserSolution [-Identity] <SPUserSolutionPipeBind>
             -Site <SPSitePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



754
Uninstall-SPWebPartPack [-Identity] <string> [-WebApplication
             <SPWebApplicationPipeBind>] [-Language <uint32>]
             [-CompatibilityLevel <string>] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



755
             Unpublish-SPServiceApplication [-Identity]
             <SPServiceApplicationPipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



756
Update-SPAppCatalogConfiguration [-Site] <SPSitePipeBind>
             [-SkipWebTemplateChecking] [-Force] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



757
             Update-SPAppInstance -Identity <SPAppInstance> -App <SPApp>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



758
Update-SPDistributedCacheSize [-CacheSizeInMB] <uint32>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



759
Update-SPFarmEncryptionKey [-Resume] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



760
             Update-SPHelp [-Force] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]
761
             Update-SPInfoPathAdminFileUrl -Find <uri> -Replace <uri> [-Scan]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



762
Update-SPInfoPathFormTemplate [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



763
             Update-SPInfoPathUserFileUrl [-WebApplication]
             <SPWebApplicationPipeBind> -Find <uri> -Replace <uri> [-Scan]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Update-SPInfoPathUserFileUrl [-ContentDatabase]
             <SPContentDatabasePipeBind> -Find <uri> -Replace <uri> [-Scan]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]
            
             Update-SPInfoPathUserFileUrl [-Site] <SPSitePipeBind> -Find <uri>
             -Replace <uri> [-Scan] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



764
Update-SPProfilePhotoStore -MySiteHostLocation <SPSitePipeBind>
             [-CreateThumbnailsForImportedPhotos <bool>] [-NoDelete <bool>]
             [-OldBaseUri <uri>] [-NewBaseUri <uri>] [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]



765
Update-SPRepopulateMicroblogFeedCache
             -ProfileServiceApplicationProxy
             <SPServiceApplicationProxyPipeBind> [-SiteSubscription
             <SPSiteSubscriptionPipeBind>] [-AccountName <string>] [-SiteUrl
             <string>] [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



766
             Update-SPRepopulateMicroblogLMTCache
             -ProfileServiceApplicationProxy
             <SPServiceApplicationProxyPipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [<CommonParameters>]



767
Update-SPSecureStoreApplicationServerKey -Passphrase <string>
             -ServiceApplicationProxy <SPServiceApplicationProxyPipeBind>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



768
Update-SPSecureStoreCredentialMapping -Identity
             <SPSecureStoreApplication> -Principal <SPClaim> -Values
             <securestring[]> [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]



769
             Update-SPSecureStoreGroupCredentialMapping -Identity
             <SPSecureStoreApplication> -Values <securestring[]>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



770
Update-SPSecureStoreMasterKey -Passphrase <string>
             -ServiceApplicationProxy <SPServiceApplicationProxyPipeBind>
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]
771
Update-SPSolution [-Identity] <SPSolutionPipeBind> -LiteralPath
             <string> [-Time <string>] [-CASPolicies] [-GACDeployment]
             [-FullTrustBinDeployment] [-Local] [-Force]
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



772
Update-SPUserSolution [-Identity] <SPUserSolutionPipeBind> -Site
             <SPSitePipeBind> -ToSolution <SPUserSolutionPipeBind>
             [-AssignmentCollection <SPAssignmentCollection>] [-WhatIf]
             [-Confirm] [<CommonParameters>]



773
             Update-SPWOPIProofKey [-ServerName <string>]
             [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



774
             Upgrade-SPContentDatabase [-Identity] <SPContentDatabasePipeBind>
             [-ForceDeleteLock] [-ServerInstance
             <SPDatabaseServiceInstancePipeBind>] [-UseSnapshot]
             [-SkipIntegrityChecks] [-NoB2BSiteUpgrade] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
            
             Upgrade-SPContentDatabase [-ForceDeleteLock] -WebApplication
             <SPWebApplicationPipeBind> -Name <string> [-ServerInstance
             <SPDatabaseServiceInstancePipeBind>] [-UseSnapshot]
             [-SkipIntegrityChecks] [-NoB2BSiteUpgrade] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



775
             Upgrade-SPEnterpriseSearchServiceApplication [-Identity]
             <SearchServiceApplicationPipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



776
Upgrade-SPEnterpriseSearchServiceApplicationSiteSettings
             -Identity <SPSitePipeBind> [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]



777
             Upgrade-SPFarm [-AssignmentCollection <SPAssignmentCollection>]
             [-WhatIf] [-Confirm] [<CommonParameters>]



778
Upgrade-SPSingleSignOnDatabase -SSOConnectionString <string>
             -SecureStoreConnectionString <string> -SecureStorePassphrase
             <securestring> [-AssignmentCollection <SPAssignmentCollection>]
             [<CommonParameters>]



779
Upgrade-SPSite [-Identity] <SPSitePipeBind> [-VersionUpgrade]
             [-QueueOnly] [-Email] [-Unthrottled] [-AssignmentCollection
             <SPAssignmentCollection>] [-WhatIf] [-Confirm]
             [<CommonParameters>]
            
            



Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


List of PowerShell Commands in SharePoint 2013 Part 7 How to hide SharePoint 2013 ribbon on list display form