Posts

Set default home page using powershell script

Set default master page using the below script

#Author: Prem Kumar#Date: Feb 11 2015param( [string]$InputedURL = $(Read-Host -prompt "Enter Web Application Root URL") ) try { $sourceWeb = Get-SPWeb$InputedURL$oFolder = $sourceWeb.RootFolder;$oFolder.WelcomePage = "Pages/Home.aspx";$oFolder.Update();write-host"Home Page set..,"; } catch { write-host"Error in Setting Home Page - $_.Exception.Message" } finally { $sourceWeb.Dispose() }

Set default master page using powershell script

Set default master page using below powershell script



#Author: Prem Kumar#Date: Feb 11 2015param( [string]$rooturl = $(Read-Host -prompt "Enter Web Application Root URL...?") ) try { $web = Get-SPWeb$rooturlwrite-host"Setting master pages to $rooturl"$web.CustomMasterUrl = "/service/_catalogs/masterpage/CustomMaster.master"$web.MasterUrl ="/service/_catalogs/masterpage/CustomSystemMaster.master"write-host"System and custom master page are set"$web.Update() } catch { write-host"Exception in Set Master Page - $_.Exception.Message" } finally { $web.Dispose() write-host"Exit of Master Page..." }

Create multiple top navigation with CSV data source using Powershell script

Image
1) In this post we will see how to create the top navigation with CSV File as data source using powershell script

2) Also refer below powershell scripts

Bulk Creation of Site Columns:
 http://www.sharepointbasic.com/2016/11/powershell-script-to-create-bulk-site_27.html

Bulk Creation of Site Content Types:  
 http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-site.html

Bulk Lists and Libraries in SharePoint
http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-lists.html

Bulk File upload to sharepoint library
http://www.sharepointbasic.com/2016/12/upload-multiplebulk-files-to-sharepoint.html

Create multiple columns inside SharePoint List using Powershell
http://www.sharepointbasic.com/2016/12/create-multiple-columns-inside.html

Upload List Template and Create List based on List Template using PowerShell
http://www.sharepointbasic.com/2016/12/upload-list-template-and-create-list.html

3) Create a CSV File like below


4) Create a script using below code
#Au…

Upload List Template and Create List based on List Template using PowerShell

Hi All,

1) In this post we will be seeing how to upload a List Template to sharepoint list template folder and use the template to create a list based on the template uploaded . We will be using powershell to achieve this . 


2) Refer the below posts in the powershell series.


 Bulk Creation of Site Columns: http://www.sharepointbasic.com/2016/11/powershell-script-to-create-bulk-site_27.html
Bulk Creation of Site Content Types:    http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-site.html
Bulk Lists and Libraries in SharePointhttp://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-lists.html
Bulk File upload to sharepoint libraryhttp://www.sharepointbasic.com/2016/12/upload-multiplebulk-files-to-sharepoint.html
Create multiple columns inside SharePoint List using Powershell
http://www.sharepointbasic.com/2016/12/create-multiple-columns-inside.html

3) Use the below code to achieve the functionality



#Date: Aprl 10 2015param( [string]$webUrl = $(Read-Host -prompt…

Create multiple columns inside SharePoint List using Powershell

Image
Hi All,

1) In this post we will be seeing how to add multiple columns inside SharePoint List/Library and adding to the view

2) Refer the below posts in the powershell series.


 Bulk Creation of Site Columns: http://www.sharepointbasic.com/2016/11/powershell-script-to-create-bulk-site_27.html
Bulk Creation of Site Content Types:    http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-site.html
Bulk Lists and Libraries in SharePoint http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-lists.html
Bulk File upload to sharepoint library http://www.sharepointbasic.com/2016/12/upload-multiplebulk-files-to-sharepoint.html
3) Create a CSV File like below



4) Use the below Powershell script


#This script creates site columns from the given csv file#Author: Prem Kumar#Date: Feb 11 2015param( [string]$rooturl = $(Read-Host -prompt "Enter Web Application Root URL...?"), [string]$listname = $(Read-Host -prompt "Enter the list name...?"), [string]$csvpath …

Upload Multiple/Bulk files to SharePoint library with folder structure using PowerShell

1) Hi All, In this post we will be seeing how to upload the files from system to SharePoint with the same folder structure and files as in those folder structure using PowerShell script. This will be helpful for deployment.

2) Refer the below posts in the powershell series.


 Bulk Creation of Site Columns: http://www.sharepointbasic.com/2016/11/powershell-script-to-create-bulk-site_27.html
Bulk Creation of Site Content Types:    http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-site.html
Bulk Lists and Libraries in SharePoint http://www.sharepointbasic.com/2016/12/powershell-script-to-create-bulk-lists.html
3) use the below code


param( [string]$uploadurl = $(Read-Host -prompt "Enter the Folder"), [string]$path = $(Read-Host -prompt "Enter Web Application Root URL") ) functionCopy-FilestoSP { Param ( [parameter(Mandatory=$true)][string]$LocalPath, [parameter(Mandatory=$true)][string]$SiteUrl, [parameter(Mandator…

KnowledgeLake To Exhibit At SPTechCon In San Francisco on December 5-8 2016

St. Louis, MI /PRNewswire/ - KnowledgeLake, Inc. will be at SharePoint Technology Conference (also known as SPTechCon) in San Francisco, California December 5-8 to demonstrate a powerful platform that enhances the power of SharePoint 2013, 2016 and Online. The event will offer more than 80 classes and panel sessions presented by SharePoint experts. KnowledgeLake will be in booth #300.
"This is a valuable event for administrators, developers, architects and business people who must deploy, maintain and maximize business value from SharePoint," said KnowledgeLake CEO, Bernie Schweiss. "We are excited to show how our solutions can enable organizations to enhance their SharePoint document imaging and management experience."
On Monday, December 5, from 3:30-4 p.m., KnowledgeLake's Senior Director, Dr. Andrew Hutson, will conduct the class, "Top 5 Considerations When Moving Content to SharePoint Online." During this educational session, Dr.…