Showing posts from February, 2018

Extract Documents to Folder based on Managed Metadata Column - SharePoint

  How to Extract documents from Multiple Document libraries in to Folders. Each has a Managed Metadata Column with Sub Terms. I have created three Functions to  Download Document Create Folder Main Method Addition to above, script will log the Document URL and destination Folder Path in .log file Create Folder   Function   Create-Folder {      param  ( $folderPath )      if  (!( Test-Path  -path  $folderPath ))     {          New-Item   $folderPath  -type directory     } } Download Document ( this is stolen from Stackoverflow 😁 ) Function   Download-Document {      param ( $web ,  $folderPath ,  $docItem )       #File Download Snippet Reffered From :        $File  =  $web .GetFile ( $docItem .Url )          $Binary  =  $File .OpenBinary ()          $detinationPath  =  $folderPath  +  "\"  +  $File .Name ;          $Stream  =  New-Object  System.IO.FileStream( $detinationPath

How to Create State Service Application for SharePoint 2013

This is a very simple code snippet which we need most of the time. I thought it will be handy to publish this PowerShell command for any one who might look for a way to create State Service Application on SharePoint 2013 New-SPStateServiceDatabase - Name Farm_StateService_ContentDB | New-SPStateServiceApplication - Name "State Service Application" | New-SPStateServiceApplicationProxy - Name "Farm State Service Application Proxy" - DefaultProxyGroup Cheers

.ps1 cannot be loaded because running scripts is disabled on this system

Many of us has face this error When we are trying to execute PowerShell Script on our Windows PC/Server. Solution is to enable the PowerShell Scripts on the PC. How to do that ? First we need to see what is the current script execution policy, by using Get-Execution Policy Command Get-ExecutionPolicy -List Now we know what is the current policy of our PC. Now it's time to enable the Policy for us to execute the Scripts. Set-ExecutionPolicy -Scope LocalMachine Unrestricted Now We can check our current policy Status with previous Get-Execution Policy Command Get-ExecutionPolicy -List

How to Publish Nintex Forms through PowerShell

Publishing Nintex form through PowerShell, was a challenge for me during last few weeks. After consulting Nintex team they have provided many valuable information related to the same topic. I will go through each and every information which I have gathered. Finally I was able to publish the Nintex Form through PowerShell Initially Nintex team has provided details to the in built web service for publishing a workflow. Nintex Web Service Reference Above link explains all available methods within the service  ·          Endpoint URL ·          DeleteForm ·          GetFormXml ·          PublishFormXml The moment I tried to access the web service via browser, I got an error saying " End Point Not Found ". But later I found a valuable post on Nintex community by  mattbriggs  who has overcome same issue through Visual Studio Solution in his blog post Named as “ Publish a Form Using the Nintex Forms On Prem 2013 Web Service “. Unfortunately

Pre-Upgrade Check List

Download Our Free SharePoint Pre-Upgrade Check List

* indicates required

Vintage Clan