Sharepoint

Wednesday, October 14, 2015

Create mysite using Powershell

›
Function Create-MySite            {             [CmdletBinding()]             Param             (              [Parameter(Mandatory = $...
Friday, October 9, 2015

Powershell script remove contenttypes from list

›
#Get site object and specify name of the library to look for in each site $site = Get-SPSite http://URL $lookForList = "ListName ...
Thursday, June 11, 2015

Export managed metadata

›
Get-SpServiceApplication | select DisplayName, ID Get-SPServiceApplicationProxy | select DisplayName, ID $mmsAppId = "GUID" $mm...

Migrate SharePoint social tag comments

›
Add-PSSnapin microsoft.sharepoint.powershell $upaProxy = Get-SPServiceApplicationProxy GUID $site = get-spsite #URL $listName = #L...
Monday, July 7, 2014

Security Token Service is down or showing errors?

›
Some examples of errors that may show up in your ULS log. An exception occurred when trying to issue security token: The server did not pr...
1 comment:
Thursday, June 5, 2014

Set user default regional settings from website default

›
$spweb = Get-SPWeb http://yourURL.com $user = get-spuser -Web $spweb -Identity "DOMAIN\USER" $reg = $user.RegionalSettings $new...
Wednesday, June 4, 2014

Powershell script activate developer dashboard on demand in your Sharepoint 2013 environment

›
$svc = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $dds = $svc.DeveloperDashboardSettings $dds.DisplayLevel = "O...
Monday, April 7, 2014

Add list column to list contenttype

›
$web = Get-SPWeb -Identity " URL to your site " $list = $web.Lists["List name"] $ct = $list.ContentTypes["Contentt...
Wednesday, August 28, 2013

Count of all Documents in SharePoint 2010 Farm with Powershell

›
Get-SPSite -Limit All | Get-SPWeb -Limit All | % { $_.Lists} | ? { $_ -is [Microsoft.SharePoint.SPDocumentLibrary] } | % { $total+= $_.Item...
Thursday, May 2, 2013

Open PDF

›
$webApp = Get-SPWebApplication http://url If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf") {   Writ...
›
Home
View web version

About Me

Daniel Junede
View my complete profile
Powered by Blogger.