Thursday, November 16, 2017
If you want to get details about the managed meta data service application, there is only onw thing which you must have.
1. Central Adin URL
2. Access to Run "Windows PowerShell ISE"
There are 3 steps.
$site = Get-SPSite "http://tailspin.com:21332/"
Pass Central Admin Application URL as a parameter here to get site object.
$taxSession = new-object Microsoft.SharePoint.Taxonomy.TaxonomySession($site, $true)
To get the taxonomy Session for the Central Admin Site. Pass on Site object here.
This step would give you all the information about "Managed Metadata Service" Applications which are configured on this farm as of now.
Tuesday, October 3, 2017
Changing the master page on SharePoint sites with PowerShell
web = Get-SPWeb http://portal/sites/collaboration
$web.MasterUrl = "/sites/collaboration/_catalogs/masterpage/custom.master"
Start the upgrade process on a site collection
Upgrade-SPSite http://<site name>/sites/testsite -VersionUpgrade
Exports a site, list, or library.
Export-SPWeb http://site -Path "site export.cmp"
import a site, list, or document library in SharePoint 201
Import-SPWeb -Identity <SiteURL> -Path <ImportFileName>
To Convert the authentication mode of a web application
Convert-SPWebApplication -Identity "https://<webappurl>" -To Claims -RetainPermissions [-Force]
Upgrades a deployed SharePoint Solution
Update-SPSolution -Identity contoso_solution.wsp -LiteralPath c:\contoso_solution_v2.wsp -GACDeployment
To Install a SharePoint Hosted App in a site
$spapp= Import-SPAppPackage -Path Path to app -Site URL -Source Source
Install-SPApp -Web URL -Identity $spapp
To Change the visual Elements of Site collection from SharePoint 2010 to SharePoint 2013
Upgrade-SPSite http://<site name>/sites/testsite
Setting up a new URL for existing site collection in web app
Set-SPSiteURL -Identity $site -Url http://contoso.sharepoint.com -Zone Default
To change the ContentType Hub URL in "Managed Metadata Service" Application
Set-SPMetadataServiceApplication -Identity "NYCEDC MMS Application" -HubUri "http://contoso.com:45518/sites/ContentTypeHub/"
To set the interval for creating ULS Log File
PS C:\Users\contoso> Set-SPDiagnosticConfig -LogCutInterval 60
To set the days interval for keeping the ULS log Files.
PS C:\Users\contoso> Set-SPDiagnosticConfig -DaysToKeepLogs 5
Friday, September 22, 2017
Configure Send to Connections : Error-Verification Failed: URL is not a valid routing destination
The Document Center URL is this.
Added "/_vti_bin/officialfile.asmx" into the above URL to make "Send to URL" which need to input while configuring "Send to Connections".
Now While configuring a "Send to connections" in "general Application Settings" on Central Admin of SharePoint 2013,
To remove this error you have to go to "DocumentCenter" Web Application mentioned in above URL Choose "Site Actions" | "Site Settings" | "Manage Site Features".
Activate "Content Organizer" Feature. After activating verify that the feature was really enabled. Under "Site Administration" there would be "Content Organizer Settings" menu entry should be there.
Now Again click "Click Here to Test" in "Send to URL". Now It would show "Verification Successful".