Powershell Scripts: Basic Operations on SharePoint 2013 Online using CSOM

Vijai Anand Ramalingam

This book helpful for understanding and working with Powershell scripts using the .Net Client Side Object Model.

  • Published on Dec 16 2014
  • Pages 210
  • Downloaded 3.2k
  • Type PDF
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 11.6k
  • 0

This book is mainly focused for beginners and contains the Powershell scripts to perform basic operations using the .Net Client Side Object Model. For advanced developers, section 14 will be more useful; it explains the operations that can be performed by the new assemblies added to the SharePoint 2013 Client Side Object Model. With respect to the Powershell scripts in this book, you should be familiar with SharePoint Client Side Object Model, Powershell and Out-of-the-box features.

Table of Contents

  1. SharePoint 2013 Online Management Shell: An Overview

  2. Prerequisites

  3. Perform SharePoint list tasks using CSOM in Powershell script

    3.1 How to get all the lists from the website
    3.2 How to create a new list in the website
    3.3 How to delete a list from the website
    3.4 How to update a list in the website
    3.5 How to enable folder creation for the list in the website
    3.6 How to disable attachments to list items in the list
    3.7 How to display the list in the quick launch bar
    3.8 How to enable versioning for the list
    3.9 How to enable minor versions for the document library
    3.10 How to enable Require Check Out for the document library
    3.11 How to enable content approval for the list
    3.12 How to specify the permission required to view minor versions and drafts within the list
    3.13 How to get all the list templates available for creating lists

  4. Perform SharePoint website tasks using CSOM in Powershell script

    4.1 How to get the properties of a website
    4.2 How to update the properties of a website
    4.3 How to get only specific properties of a website
    4.4 How to get all the active features from website

  5. Perform SharePoint list item tasks using CSOM in Powershell script

    5.1 How to get all the items from the list
    5.2 How to create a new item in the list
    5.3 How to update an item in the list
    5.4 How to delete an item in the list
    5.5 How to get the items from a list folder
    5.6 How to get all the attachments for the list item
    5.7 How to delete an attachment for the list item

  6. Perform SharePoint content type tasks using CSOM in Powershell script

    6.1 How to get all the content types from the website
    6.2 How to create a site content type
    6.3 How to delete the site content type
    6.4 How to set the site content type read only
    6.5 How to get all the content types from the list
    6.6 How to delete the content type from the list
    6.7 How to add existing content type to the list

  7. Perform SharePoint field tasks using CSOM in Powershell script

    7.1 How to get all the fields from the list
    7.2 How to update a specific field available in the list
    7.3 How to add a field in the list
    7.4 How to add an existing field to the list
    7.5 How to delete a field from the list
    7.6 How to set the default value for the list field
    7.7 How to get the calculated field formula
    7.8 How to set the formula for the calculated field

  8. Perform SharePoint list view tasks using CSOM in Powershell script

    8.1 How to get all the views for the list
    8.2 How to get all the fields available in the list view
    8.3 How to set the default view in the list
    8.4 How to add a field to the list view
    8.5 How to delete a field from the list view
    8.6 How to delete a list view

  9. Perform SharePoint folder tasks using CSOM in Powershell script

    9.1 How to get all the top level folders from the website
    9.2 How to get all the top level folders from the list
    9.3 How to get the subfolders from the list
    9.4 How to delete a folder from the list
    9.5 How to create a new folder in the document library
    9.6 How to get the number of items inside the folder

  10. Perform SharePoint file tasks using CSOM in Powershell script

    10.1 How to get the major version of the file
    10.2 How to get the minor version of the file
    10.3 How to check out the file in the document library
    10.4 How to get the user login name that has checked out the file
    10.5 How to get the user login name who added the file
    10.6 How to get the check out type associated with the file
    10.7 How to check in the file
    10.8 How to get the check in comment of the file
    10.9 How to unpublish the major version of the file
    10.10 How to discard check out of the file
    10.11 How to delete the file from the document library

  11. Perform SharePoint file version tasks using CSOM in Powershell script

    11.1 How to get all the versions for the file
    11.2 How to get the file version for the document by version Id
    11.3 How to delete a file version by version ID for the document
    11.4 How to delete a file version by version label for the document
    11.5 How to restore a specific file version for the document
    11.6 How to check if the file version is a current version for the document
    11.7 How to delete all the file versions for the document

  12. Perform SharePoint group tasks using CSOM in Powershell script

    12.1 How to get all the site groups
    12.2 How to create a new site group
    12.3 How to set the user as owner for the site group
    12.4 How to set the group as owner for the site group
    12.5 How to get all the users from the site group
    12.6 How to add a user to the site group
    12.7 How to remove a user from the site group
    12.8 How to delete a site group

  13. Perform SharePoint role tasks using CSOM in Powershell script

    13.1 How to get all the permission levels from the website
    13.2 How to create a permission level in the website
    13.3 How to update the permission level in the website
    13.4 How to remove the permissions from the permission level
    13.5 How to delete the permission level from the website

  14. Perform SharePoint Taxonomy related tasks using CSOM in Powershell Script

    14.1 How to get all the Term Stores for the provided site
    14.2 How to get all the groups for the termstore
    14.3 How to create a new group for the term store
    14.4 How to delete the group from the term store
    14.5 How to get all the termsets for the taxonomy group
    14.6 How to create a term set for the specified group
    14.7 How to delete the term set from the specified group
    14.8 How to get all the terms for the termset
    14.9 How to create a new term for the termset
    14.10 How to delete the term from the term set
    14.11 How to create a copy of the term within the termset
    14.12 How to deprecate the specified term
    14.13 How to get all the labels for specified term
    14.14 How to create a new label for specified term
    14.15 How to delete the label for specified term

Summary