Let's SharePoint

SharePoint 2019

  1. HOME
  2. SharePoint 2019
March 21, 2019 / Last updated : March 21, 2019 Sethu PowerShell

How to get result sources in SharePoint 2013/2016/2019 using Powershell?

Below are the powershell commands get result sources in SharePoint 2013/2016/2019 using Powershell. Add-PSSnapin Microsoft.SharePoint.PowerShell $ssa = Get-SPEnterpriseSearchServiceApplication $fedman = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($ssa) $searchOwner = Get-SPEnterpriseSearchOwner -Level Ssa $filter = New-Object Microsoft.Office.Server.Search.Administration.SearchObjectFilter($searchOwner) $filter.IncludeHigherLevel = $true $fedman.ListSources($filter,$true) | Select Name, Description, Active, Owner Happy SharePointing 🙂

March 6, 2019 / Last updated : March 6, 2019 Sethu Customization

How to get all site owners in SharePoint Online using Powershell?

Hello SharePointers. Below are the powershell script to get all the site owners of all the SharePoint sites. foreach($site in $sites) { $siteURL = $site.Url $siteOwner = $site.Owner Write-Host $siteURL -ForegroundColor Blue Write-Host $siteOwner -ForegroundColor Blue $siteAdmins = Get-SPOUser -Site $siteURL -Limit All | select LoginName,IsSiteAdmin | ? { $_.ISSiteAdmin } $siteUsers = “” foreach($siteAdmin […]

January 9, 2019 / Last updated : January 9, 2019 Sethu SharePoint 2010

How to upload Documents in a folder to SharePoint list in Office 365/SharePoint 2010/2013/2016/2019?

Hello Sharepointers, Below are the powershell script to upload Documents in a folder to SharePoint list in Office 365/SharePoint 2010/2013/2016/2019. if((Get-PSSnapin “Microsoft.SharePoint.PowerShell”) -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell Write-Host “SP Add-in Activated” } $webUrl = “https://lakssite” $docLibraryName = “Employee” $docLibraryUrlName = “Emp” $localFolderPath = “C:\Employee Folder” $web = Get-SPWeb $webUrl Write-Host “webSite = ” + $webSite […]

December 7, 2018 / Last updated : December 7, 2018 Sethu SharePoint 2013

How to Add Geolocation field in Office 365/SharePoint 2016/2019 using Powershell

Hello SharePointers, Here are the Powershell script to add Geolocation field in Office 365/SharePoint 2016/2019 using Powershell. $list = $web.Lists.GetByTitle(“My Google/Bings Maps) $ctx.Load($list) $ctx.ExecuteQuery() $geolocationmap=$list.Fields.AddFieldAsXml(“”, $true, [Microsoft.SharePoint.Client.AddFieldOptions]::AddToAllContentTypes) $list.Update() $ctx.ExecuteQuery() Happy SharePointing 🙂

December 6, 2018 / Last updated : December 6, 2018 Sethu Client Side Object Model

How to hide Alerts icon in SharePoint list/Library using CSS in SharePoint 2010,2013, 2016, Office 365?

Hello SharePointers, Below are the CSS  script to be placed in script editor web part to hide Alerts icon in SharePoint list/Library using CSS in SharePoint 2010,2013, 2016,2019 Office 365 <style type=”text/css”> #Ribbon\.WikiPageTab\.Share\.AlertMe-Large { display:none !important; } #Ribbon\.WebPartPage\.Share\.AlertMe-Large { display:none !important; } #Ribbon\.Library\.Share\.AlertMe-Medium { display:none !important; } #Ribbon\.Documents\.Share\.AlertMe-Medium { display:none !important; } </style> Happy SharePointing 🙂

November 30, 2018 / Last updated : November 30, 2018 Sethu SharePoint 2010

How to disable Alerts in SharePoint list using Powershell in Office 365/SharePoint 2010/2013/2016?

Hello SharePointers Below is the Powershell used to disable  Alerts in SharePoint list using Powershell in Office 365/SharePoint 2010/2013/2016 $url = ‘https://warnerbros.sharepoint.com/sites/TS/’ $listTitle = ‘Testlist’ $setstatus = [Microsoft.SharePoint.SPAlertStatus]::Off $web = Get-SPWeb $url $list = $web.Lists[$listTitle] $web.Alerts | ? { $_.List.ID -eq $list.ID } | % { $_.Status = $setstatus $_.Update() } Happy SharePointing Folks 🙂

November 28, 2018 / Last updated : November 28, 2018 Sethu Client Side Object Model

How to look out for empty user groups using Powershell in SharePoint 2010,2013,2016,2019?

Hello SharePointers, Below are the powershell script to look out for empty user groups using Powershell in SharePoint 2010,2013,2016,2019.   if (!(Get-PSSnapin Microsoft.Sharepoint.Powershell -ErrorAction SilentlyContinue)) { Add-PSSnapin microsoft.sharepoint.powershell } $site = “Your sharepoint site name” $UsergroupCount = get-spsite $site | % { $_.allwebs | % { $web = $_ $web.groups | % { [pscustomobject][ordered]@{ “GroupName” = […]

November 22, 2018 / Last updated : November 22, 2018 Sethu Office 365

How to Enable External Sharing in Modern Communication Site in Office 365?

Hello SharePointers, Below are the powershell script to enable External Sharing in Modern Communication Site in Office 365. Connect-SPOService -Url https://laksinnovation-admin.sharepoint.com Set-SPOSite -Identity https://laksinnovation.sharepoint.com/sites/Communicationtestsite -SharingCapability ExternalUserAndGuestSharing Happy SharePointing Folks!

November 21, 2018 / Last updated : November 21, 2018 Sethu PowerShell

How to Send Email from Powershell in SharePoint 2010/2013/2016/2019 & Office 365?

Hello SharePointers, Below are the Powershell script to send email from powershell in SharePoint 2010/2013/2016/2019 & Office 365. $DicObject = New-Object System.Collections.Specialized.StringDictionary $DicObject .Add(“to”,”you@yourdomain.com”) $DicObject .Add(“from”,”fromname@yourdomain.com”) $DicObject .Add(“subject”,”Test Email”) $web = Get-SPWeb http://yourdomain.com $body = “This is a test email Friends” try { [Microsoft.SharePoint.Utilities.SPUtility]::SendEmail($web,$DicObject ,$body) } finally { $w.Dispose() } Happy SharePointing 🙂

November 17, 2018 / Last updated : November 17, 2018 Sethu Client Object Model

How to hide SharePoint Column in Display/Edit/New form in SharePoint 2010/2013/2016/2019/Office 365?

Hello SharePointers, Below are the script to hide SharePoint Column in Display/Edit/New form in SharePoint 2010/2013/2016/2019/Office 365 script src=”//code.jquery.com/jquery-1.12.4.js” type=”text/javascript”> <script type=”text/javascript”> $(function () { $(“.ms-standardheader:contains(‘yourFieldName’)”).closest(“tr”).hide(); }); </script> Happy SharePointing 🙂

Posts navigation

  • Page 1
  • Page 2
  • »

Recent posts

How to insert table in Modern Pages using PnP Powershell in Office 365/Sharepoint Online?

June 7, 2019

How to set up Access Requests in SharePoint online using Powershell?

May 11, 2019

How to change the default SharePoint suite logo in SharePoint 2013/2016/2019?

April 30, 2019

How to add metadata to Document libraries in SharePoint online using powershell.

April 27, 2019

How to get Sharepoint site details using Powershell in Office 365?

April 17, 2019

How to get alerts for a specific policy in Cloud app security using Powershell

April 16, 2019

How to get the list of custom apps in App catalog using Powershell?

April 9, 2019

How to get the list of policies in Microsoft Cloud app security using window powershell?

April 4, 2019

How to get the list of List and Document library item counts in SharePoint online using Pnp Powershell ?

April 4, 2019

How to restore subsite in a Sharepoint online site collection using Pnp Powershell

April 2, 2019

Category

  • Anonymous access
  • Client Object Model
  • Client Side Object Model
  • Customization
    • Customization
  • Designer Workflows
  • Errors & Resolutions
  • Features
  • Google Analytics
  • InfoPath
  • Item Scheduling
  • JSOM
  • Nintex worflows
  • Office 365
  • Office 365 Groups
  • PnP JS Library
  • PowerShell
  • Powershell Online
  • REST API
  • REST API's
  • Server Side Object Model
  • SharePoint 2010
  • SharePoint 2010 Search
  • SharePoint 2013
  • SharePoint 2013 Search
  • SharePoint 2013 Workflows
  • SharePoint 2016
  • SharePoint 2019
  • SharePoint Designer
  • SharePoint Framework
  • SharePoint Online
  • SharePoint Pnp
  • SharePoint Usage Analytics
  • Unique values
  • User Profile Services
  • Windows Powershell
  • Workflow Manager

Archive

  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015

Copyright © Let's SharePoint All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.