Tuesday, May 31, 2016

SharePoint Online: How to Create a Subsite using PowerShell

Requirement: Create a Subsite in SharePoint online using PowerShell.

How to create a Subsite in SharePoint Online:
To add a subsite in SharePoint online, follow these steps:
  • Sign-in to your SharePoint online site as Site Collection Administrator/Site Owner
  • Click on Site Settings Gear Icon >> Choose "Site Contents"
    sharepoint online powershell create subsite
  • Scroll down to the bottom and click on "Create Subsite" link
    sharepoint online powershell create web
  • Provide the Name, description, template for your new subsite. specify other optional settings such as Permissions, Navigation.
    how to create subsite in sharepoint online
  • Click on "Create" button at the bottom of the page to create a subsite in SharePoint online.

SharePoint online: PowerShell to create subsite:
Let's create a subsite in SharePoint online using PowerShell.
#Load SharePoint Online Assemblies
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"

#Variables for processing
$SiteURL = "https://crescent.sharepoint.com/Sites/Sales"
$AdminAccount = "SPAdmin@crescent.com"
 
#User Names Password to connect 
$Password = Read-host -assecurestring "Enter Password for $AdminAccount" 
$Credential = new-object -typename System.Management.Automation.PSCredential -argumentlist $AdminAccount, $Password

Try {
    #Setup the context
    $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)
    $Context.Credentials = $credentials

    #Specify Subsite details
    $WebCI = New-Object Microsoft.SharePoint.Client.WebCreationInformation
    $WebCI.Title = "Sales - US "
    $WebCI.WebTemplate = "STS#0" #Team Site
    $WebCI.Url = "us"
    $SubWeb = $Context.Web.Webs.Add($WebCI)
    $Context.ExecuteQuery()

    Write-host "Subsite Created Successfully!" -ForegroundColor Green
}
catch {
    write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
}
This script creates a web in SharePoint Online. The above script uses only mandatory parameters. You can refer this Technet link if you want to specify other parameters such as Permission, navigation settings, etc. https://msdn.microsoft.com/EN-US/library/office/microsoft.sharepoint.client.webcreationinformation_members.aspx

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Sunday, May 29, 2016

SharePoint Online: Add-Remove Fields to List View using PowerShell

SharePoint Online: PowerShell Script to Add a Field to an Existing List View
Here is the PowerShell to add a field to an existing List view in SharePoint online.
#Load SharePoint Online Assemblies
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
   
##Variables for Processing
$SiteUrl = "https://crescent.sharepoint.com/sites/Sales/"
$ListName="Documents"
$FieldToAdd="ID"
$UserName="Salaudeen@crescent.com"
$Password ="Password goes here"

Try {
    
    $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($UserName,(ConvertTo-SecureString $Password -AsPlainText -Force))

    #Get Web information and subsites
    $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteUrl)
    $Context.Credentials = $credentials
    
    #get the list
    $List = $Context.web.lists.GetByTitle($Listname)
    
    #Check if View has the field already
    $ViewFields = $List.DefaultView.ViewFields
    # Get a specific list view by Name
    #$view=$List.Views.getByTitle($ViewName)
    $Context.load($ViewFields)  
    $Context.ExecuteQuery()  

    if( ($ViewFields -Contains $FieldToAdd) -eq $false) {
        #Add the Field to View
        $List.DefaultView.ViewFields.Add($FieldToAdd)
        $List.DefaultView.Update()
        $Context.ExecuteQuery()

        Write-host "List View updated!" -ForegroundColor Green 
    }
    else { 
    write-host "Field exists in the view already!" -foregroundcolor Red 
    }

}
catch {
    write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
}
The above script adds "ID" field to the default view of the given library
SharePoint Online: Add-Remove Fields to List View using PowerShell
Remove Field from the List View using PowerShell in SharePoint Online:
Similarly, to remove a field from the view, the PowerShell script goes like:
#Load SharePoint Online Assemblies
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
   
#Variables for Processing
$SiteUrl = "https://crescent.sharepoint.com/sites/Sales/"
$ListName="Documents"
$FieldToAdd="ID"
$UserName="Salaudeen@crescent.com"
$Password ="Password goes here"

Try {    
    $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($UserName,(ConvertTo-SecureString $Password -AsPlainText -Force))

    #Setup the context
    $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteUrl)
    $Context.Credentials = $credentials
    
    #get the list
    $List = $Context.web.lists.GetByTitle($Listname)
    
    #Check if the View has the field in it
    $ViewFields = $List.DefaultView.ViewFields
    $Context.load($ViewFields)  
    $Context.ExecuteQuery()  

    if( ($ViewFields -Contains $FieldToAdd) -eq $true) {
        #Add the Field to View
        $List.DefaultView.ViewFields.Remove($FieldToAdd)
        $List.DefaultView.Update()
        $Context.ExecuteQuery()

        Write-host "Field Has been removed from the List View!" -ForegroundColor Green 
    }
    else { 
    write-host "Field doesn't exists in the view!" -foregroundcolor Red 
    }

}
catch {
    write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
}


You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


SharePoint Online: Enable Versioning on All List and Libraries using PowerShell

Requirement: Enable Versioning on all lists in SharePoint online site.

To enable versioning for a list or library in SharePoint online,
  • Go to your document library >> Click the Library tab on the Ribbon >> Click on Library Settings.
  • Under general Settings, click Versioning Settings link.
  • From the Versioning Settings page, choose "Create major versions". Optionally, you can set a limit on number of versions.
    sharepoint online enable version history
  • This enables SharePoint online document library versioning. Once versioning feature is enabled, you can select a document or a list item and click on "Version History" from the context menu or from the Ribbon to view versions created.
PowerShell script to enable versioning on all lists and libraries in SharePoint online:
#Load SharePoint Online Assemblies
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
   
##Variables for Processing
$SiteUrl = "https://portal.crescent.com.com/sites/Sales/"
$UserName="Salaudeen@crescent.com"
$Password ="Password goes here"

try{  
    #Setup the context
    $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($UserName,(ConvertTo-SecureString $Password -AsPlainText -Force))
    $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteUrl)
    $Context.Credentials = $credentials
    
    #get the site and lists
    $web = $context.Web
    $context.Load($web)
    $context.load($web.lists)
    $Context.executeQuery() 
 
    #Iterate through each list in the web
    foreach($list in $web.lists){
    if ($list.hidden -eq $false)
    {
        #Enable versioning
        $list.EnableVersioning = $true
        $lIST.MajorVersionLimit = 50
        $list.Update()
        $Context.ExecuteQuery() 
        Write-host "Versioning has been turned ON at :"$List.title
    }
  }
}
catch{
    write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
} 
This script turns on versioning in SharePoint online for all lists and libraries in the given site.

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


SharePoint Online: Delete a Subsite using PowerShell

How to delete subsite in SharePoint online?
To delete a subsite SharePoint online:
  • Click on Site Settings gear >> Choose "Site Settings".
  • Click on "Delete this Site" link under "Site Actions" group.
    sharepoint online powershell delete subsite
  • This leads you to the "Delete this site" page. Click on "Delete" button and confirm subsite deletion.
    delete a subsite sharepoint online
  • and you'll get "Your Web site has been deleted." message in a while.
This removes the subsite in SharePoint online.
You need to have SharePoint Online Management Shell installed on your machine before executing these script. You can download it from here http://www.microsoft.com/en-in/download/details.aspx?id=35588

Delete a subsite in SharePoint online using PowerShell:
While removing subsites in SharePoint online using web browser UI is relatively simpler, We may need PowerShell in certain cases, such as:
  • When you have to delete subsites in bulk.
  • If you want to delete a sub-site which has its child-subsites (You'll get this error: "There was a problem deleting Web site "/sites/Sales/apac". Sites that have subsites or certain apps can't be deleted. Please try again after deleting all subsites and removing the apps.")
Here is the PowerShell to delete a subsite in SharePoint online.
#Load SharePoint Online Assemblies
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
   
#Variables for Processing
$SiteUrl = "https://crescent.sharepoint.com/sites/Sales/apac/"
$UserName="Salaudeen@crescent.com"
$Password ="Password goes here"

try{  
    #Setup Credentials to connect
    $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($UserName,(ConvertTo-SecureString $Password -AsPlainText -Force))

    $context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteUrl)
    $context.Credentials = $credentials
    
    #get the subsite
    $web = $context.Web
    $context.Load($web)
    $context.ExecuteQuery()

    #Delete subsite
    $web.DeleteObject()
    $context.ExecuteQuery()

    Write-Host "SubSite Deleted:" $web.Title -foregroundcolor Green
}
catch{
    write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
}

How to delete all subsites under a site in SharePoint online using PowerShell:
Lets wrap the above script into a reusable function to delete subsites recursively!
#Load SharePoint Online Assemblies
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
   
#Variables for Processing
$SiteUrl = "https://portal.sharepoint.com/sites/Sales/apac/us/"
$UserName="Salaudeen@crescent.com"
$Password ="password goes here"

#Function to delete a subsite and its all child sites
Function Remove-SPOWeb() {
param(
    $WebURL = $(throw "Please Enter the Subsite URL to Remove:")
)
    try{  
        #Get Web information and subsites
        $Context = New-Object Microsoft.SharePoint.Client.ClientContext($webURL)
        $Context.Credentials = $credentials
        #get the subsite
        $web = $context.Web
        $context.Load($web)
        $Context.Load($web.Webs)
        $Context.executeQuery() 
 
        #Iterate through each subsite in the current web
        foreach ($Subweb in $web.Webs)
        {
            #Call the function recursively to process all subsites underneaththe current web
            Remove-SPOWeb($Subweb.url)
        }

        #Delete subsite
        $web.DeleteObject()
        $context.ExecuteQuery()
        Write-Host "SubSite Deleted:" $web.Title -foregroundcolor Green
        }
    catch{
        write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
    }
}
 
#Call the function to remove subsite
Remove-SPOWeb -WebURL $SiteUrl


You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Get "Created By" User Email, Display Name, Login ID in SharePoint using PowerShell

Requirement:
Sometimes, You may to retrieve the User details such as User's Email, Account ID, Full name, etc from the Created by field. Here is the PowerShell script to get created by field values in SharePoint.

PowerShell to Get "Created By" Field Value in SharePoint:
Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
 
#Configuration Parameters
$WebURL = "http://portal.crescent.com/IQ/"
$ListName = "Questionnaire"
$ItemID = "147"
 
#Get the Web, List, Item objects
$Web= Get-SPWeb $WebURL
$List= $web.Lists[$ListName]
$Item = $List.GetItembyID($ItemID)
 
#Get the "created by" Field value
$Author = New-Object Microsoft.SharePoint.SPFieldUserValue($web, $Item["Author"])

#Get Email ID from Created By
$Author.user.Email
#Get Login ID
$Author.User.LoginName
#Get Created By Full Name
$Author.User.Name


You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Saturday, May 28, 2016

How to Reload SharePoint Page Every 60 Seconds Automatically with JavaScript

Requirement: For a monitoring dashboard, got a requirement to reload Intranet SharePoint site's home page for every five Minutes.

Solution: Use this JavaScript placed in a Script editor or content editor web part to refresh a SharePoint page on every 60 seconds. Here is how to refresh current page in SharePoint step by step:
  • Navigate to the target page you want to reload. Click on Settings gear and then click on "Edit Page"
  • Under Insert Tab of the Ribbon, Click on "Web Part" and insert "Script Editor" web part from "Media and Content" group.
    sharepoint web part reload page
  • Edit the script editor web part >> Edit snippet and place the below code in it
     <script type="text/javascript">
    
    function refreshPage(){
    location.reload(); 
    }
    setTimeout(refreshPage, 60000);
    
    </script> 
  • Save and close the page.
This refreshes a SharePoint page for every 60 seconds (or whatever you specify).

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Saturday, May 14, 2016

How to Create External Lists from SQL Server using BCS in SharePoint 2016

Business Data Connectivity Services enables SharePoint 2013/2016 and Office 2013/2016 clients to interact with data that doesn't live in SharePoint.  BCS allows you to integrate external data into SharePoint, External list provides familiar list like user experience. Lets see how to create a External List in SharePoint that grabs the data stored in SQL Server Database and display it in SharePoint 2016 without writing a single line of code.

Prerequisites: Before creating an external content type-External List, You need to have Business Data Connectivity Service (BCS) application and/or secure store service application configured in your SharePoint farm! Here is how to Create and configure BDC service application in SharePoint 2016

Step 1: Create External Content Type in SharePoint Designer 2013:
Follow these steps to create an External Content Type using SharePoint Designer 2013.
  • Open your SharePoint 2016 site in SharePoint Designer 2013
  • Select External Content Types in the left Navigation. Click on External Content Type under New Group.
    sharepoint 2013 using bcs with sql server database
  • In the External Content Type creation page, Enter the Name and Display Name for the external content type. Click on "Click here to discover external data sources and define operations" link next to "External System".
    sharepoint 2010 bcs sql server example
  • This takes you to the Operation Designer page. Now, Click on "Add a Connection" button to connect to the database. Select Data source type as SQL Server.
    sharepoint 2016 bcs sql server tutorial
  • Setup SQL Server connection properties. Enter the Database server name, Database name and choose the "Connect with impersonated windows identity" and enter the Application ID you created to connect with SQL server in Secure store service.I've created a target application ID in SharePoint 2016 secure store service. Refer this article on How to Create Target Application ID in Secure Store Service in SharePoint 2016
    sharepoint 2013 bcs connect to sql server
  •  Once the connection is made with the provided database, Data Source Explorer will be filled with the database objects we specified. Now select the relevant table to which we are going to connect from SharePoint. Right click the table and select the option "Read List Items". Repeat this step for "Read List" operation as well. 
    sharepoint 2013 using bcs with sql server database
  • You'll get Operation Properties wizard. Run through this wizard, specify appropriate settings such as filters, necessary fields and click on Finish button once done. 
    sharepoint 2016 using bcs with sql server database
  • You'll be presented with a list of operations that your External Content Type can do, as shown below.
    sharepoint bcs sql server
  • Hit Save button in SharePoint designer to complete creation of external content type.

Step 2: Create External List in SharePoint 2016:
The Next step is to expose that SQL table through an External List.
  • Open your SharePoint site in Browser, Add an App >> Choose External List
  • You will be presented with an External Content Type Picker and you will be able to view the Content Type you created a while ago. Choose that content type, Provide a name to your External list and hit OK
  • Now you can see your SharePoint list populated from the database table!
You may have to explicitly provide permission to External Content type through BCS service application if you have not set meta data permission to all users already! Last but not least: We can't compare External Lists with standard SharePoint lists. See my another post on some of the significant limitations when using external lists: 25 Limitations of External Lists in SharePoint


You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Saturday, May 7, 2016

Create Business Data Connectivity Service (BCS) Application in SharePoint 2016

The Business Data Connectivity (BDC or BCS) service application in SharePoint 2016 enables us to connect and manipulate with external line of business data sources such as SQL Server, web services, WCF Service, SOAP, REST Service Connection, XML file connection, oAuth and other proprietary data sources that are accessed by custom .NET assemblies from SharePoint. Using BDC, you can use SharePoint 2016 and Office clients as interfaces with data that doesn’t live in SharePoint. External content types are the core of BDC, It interacts with data through external content types which allows the interaction with external data in SharePoint lists.

During SharePoint farm configuration, If you ran Farm configuration wizard to configure all services then you may already have BDC service application configured for you by SharePoint. You can verify if its created already by going to:
  •     Open SharePoint Central administration site
  •     Click on Application Management >> Service Applications >> Manage service applications
  •     Check if Business Connectivity Services service application is listed.
Create new business data connectivity service application SharePoint 2013/2016:
Lets see how to create new business data connectivity service application in SharePoint 2016. BDC service application in SharePoint can be configured by following below steps:
  • Login as a Farm administrator and Open SharePoint Central administration site
  • Click on Application Management >> Service Applications >> Manage service applications
  • In the Manage service applications page, click on New button from the Ribbon.
  • From the menu, choose Business Data Connectivity Service.create new business data connectivity service application sharepoint 2013
  • Provide the Name,Database Name, and database server. You can remove the GUID to keep it clean.
    create business data connectivity service application sharepoint 2016
  • If your SQL Server database for SharePoint is configured with mirroring, then you can include the Business Data Connectivity Service database in mirroring by providing the name of the failover database server in the Failover Database Server. Leave it empty otherwise.
  • Scroll down and set Application Pool settings. You can either select Use existing application pool or to create new application Pool by providing name and Managed Account.
    configure bdc service application sharepoint 2016
  • At the bottom of the page, click OK to trigger creating new BDC service application.
  • Once created, you should get the success popup and your new Business data connectivity service application will be listed under service applications list.
sharepoint business data connectivity service application

Start Business Data Connectivity Service instance:
Once the service application is created, make sure you have the corresponding service instance started.
  1. Browse to SharePoint 2016 Central Administration site
  2. On the "Application Management" page under "Service Applications" click "Manage services on server"
  3. Find Business Data Connectivity Service and then click Start if its not started already.

Check Service Application's Association with web applications:
Verify your Service application is associated with all web applications, Otherwise, You may encounter "There is no default Business Data Connectivity Service Proxy" error!. If you had created a new BDC service application, the new BDC service application must be associated with all of your web applications. Here is how you can verify it:
  • Open SharePoint 2016 central administration site
  • Click on Application Management >> Service Applications >> Configure service application associations
  • Make sure your newly created service application is listed with web applications there. 
If its not listed under default list, Click on "Default" link and then "set it as default" to set the service application under default proxy group. Alternatively, you can select the web application, Choose custom from the drop down and then select your new BDC service application
 bdc service application sharepoint
Last but not least: Assign Permissions
Make sure you grant appropriate permissions to users before they start working with BDC. Otherwise, You'll encounter "Access denied by Business Data Connectivity" error! Just Open the service application from SharePoint Central Administration >> Click on  Set Metadata store permissions button from the ribbon >> Add users and assign permissions such as  Edit, Execute
sharepoint 2013 bdc service application
Related post: How to Create Business data connectivity service application using PowerShell in SharePoint 2016

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Friday, May 6, 2016

Create BDC (BCS) Service Application in SharePoint 2013 / 2016 using PowerShell

PowerShell script to create BDC Service Application in SharePoint 2013 / 2016:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Configuration Parameters
$ServiceAppName = "BDC Service Application"
$ServiceAppProxyName = "BDC Service Application Proxy"
$AppPoolAccount = "Crescent\SP16-AppPool"
$AppPoolName = "Service Application App Pool"
$DatabaseServer = "SP16-SQL001"
$DatabaseName = "SP16_BDC_ServiceApp"

#Check if Managed account is registered already
Write-Host -ForegroundColor Yellow "Checking if Application Pool Accounts already exists"
$AppPoolAccount = Get-SPManagedAccount -Identity $AppPoolAccount -ErrorAction SilentlyContinue
if($AppPoolAccount -eq $null)
{
    Write-Host "Please Enter the password for the Service Account..."
    $AppPoolCredentials = Get-Credential $AppPoolAccount
    $AppPoolAccount = New-SPManagedAccount -Credential $AppPoolCredentials
}

#Check if the application pool exists already
Write-Host -ForegroundColor Yellow "Checking if the Application Pool already exists"
$AppPool = Get-SPServiceApplicationPool -Identity $AppPoolName -ErrorAction SilentlyContinue
if ($AppPool -eq $null)
{
    Write-Host -ForegroundColor Green "Creating Application Pool"
    $AppPool = New-SPServiceApplicationPool -Name $AppPoolName -Account $AppPoolAccount
}

#Check if the Service application exists already
Write-Host -ForegroundColor Yellow "Checking if BDC Service Application exists already"
$ServiceApplication = Get-SPServiceApplication -Name $ServiceAppName -ErrorAction SilentlyContinue
if ($ServiceApplication -eq $null)
{
    Write-Host -ForegroundColor Green "Creating BDC Service Application"
    $ServiceApplication = New-SPBusinessDataCatalogServiceApplication –ApplicationPool $AppPoolName –DatabaseName $DatabaseName –DatabaseServer $DatabaseServer –Name $ServiceAppName
}

#Start service instance 
Write-Host -ForegroundColor Yellow "Starting the BDC Service Instance"
$ServiceInstance = Get-SPServiceInstance | Where-Object { $_.TypeName -like "*Business*" }
Start-SPServiceInstance $ServiceInstance

Write-Host -ForegroundColor Green "BDC Service Application created successfully!"


You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


You might also like:

Related Posts Plugin for WordPress, Blogger...