Exception calling ExecuteQuery with 0 argument(s): Unable to connect to the remote server error in PowerShell SharePoint Online

Exception calling ExecuteQuery with 0 argument(s) Unable to connect to the remote server

Recently, I was trying to insert items to the SharePoint online list through the PowerShell command. The error came in the below line while calling the ExecuteQuery() method. The error comes as an Exception calling “ExecuteQuery” with “0” argument(s): “Unable to connect to the remote server” $Context.ExecuteQuery(). Exception calling “ExecuteQuery” with “0” argument(s): “Unable to connect … read more…

SharePoint download multiple files + using PnP PowerShell

SharePoint download multiple files

This is a very common requirement in SharePoint, and that is to download multiple files from a SharePoint document library. This tutorial is all about SharePoint download multiple files. Here we will see: SharePoint download multiple files without zip SharePoint download multiple files zip Download multiple files from sharepoint using PowerShell How to download multiple … read more…

SharePoint PnP PowerShell examples (Best 25)

SharePoint PnP PowerShell examples

In this SharePoint tutorial, we will discuss various SharePoint PnP PowerShell examples. Here we will see the below PnP PowerShell SharePoint examples: Create modern team site using PnP PowerShell (with Office 365 group) How to create a modern team site without an office 365 group using PnP PowerShell PnP PowerShell get all modern team sites … read more…

How to connect to Microsoft Teams using PowerShell + 13 Examples

Get all teams and channels using PowerShell

In this Microsoft Teams tutorial, we will see how to connect to Microsoft Teams using PowerShell. We will also see a few examples of Microsoft Teams with PowerShell. Connect to Microsoft teams PowerShell Are you wondering, How do I connect to a Microsoft team using PowerShell? It is simple and easy to install and connect … read more…

PowerShell Copy Item examples

PowerShell copy item

Are you looking out few examples on how to use PowerShell Copy Item? This tutorial explains, how to use Copy-Item in PowerShell. Also, we will discuss the below points: PowerShell copy-item PowerShell Copy Item recurse subfolders PowerShell Copy Item create folder/PowerShell copy item to new directory PowerShell copy item without folder PowerShell copy specific file … read more…

Create SharePoint Online Modern Page + PnP PowerShell

Create SharePoint Online Modern Page

In this SharePoint tutorial, let us discuss how to create SharePoint Online modern page. We will also see how to enable or disable modern page creation in Office 365 SharePoint Online. In detail, we will discuss here: What are modern pages in SharePoint Online or SharePoint 2019? Enable or Disable modern SharePoint page creation in … read more…

Site collection administrator in SharePoint

site collection administrator sharepoint 2013

In this SharePoint tutorial, we will discuss in detail the site collection administrator in SharePoint 2013, SharePoint 2016/2019, and SharePoint Online. We will discuss the below topics: site collection administrator sharepoint 2013 add site collection administrator sharepoint 2013 Powershell remove site collection administrator sharepoint 2013 Powershell sharepoint site collection administrator responsibilities remove site collection administrator … read more…

SharePoint Online regional settings (Change SharePoint site time zone and language at site and user level) + PowerShell

SharePoint Online regional settings

In this SharePoint Online tutorial, we will discuss SharePoint Online regional settings. How to change SharePoint Online regional settings for modern sites and classic sites. You will get to know: SharePoint regional settings Change SharePoint regional settings Change SharePoint Online site time zone Change SharePoint Online site language Change SharePoint time format (12-hours/24-hours) Change SharePoint … read more…

SharePoint site owner – Detailed Guide

SharePoint site owner

Keep reading this article, if you want to know about SharePoint site owner and their roles and responsibilities. Here we will discuss: What are SharePoint site owners? SharePoint site owner permissions How to find SharePoint site owner in Office 365 How to add owner to SharePoint site office 365 change SharePoint Online site owner SharePoint … read more…

PowerShell Create Log File

powershell create log file

In this PowerShell tutorial, we will discuss how to create a log file in PowerShell. We use log files to track information while running a PowerShell script. If you are a little familiar with PowerShell, then you might realize we use PowerShell for simple to complex and to complete a long time-consuming task. Your PowerShell … read more…

connect-sposervice the term ‘connect-sposervice’ is not recognized as the name of a cmdlet

connect-sposervice the term connect-sposervice is not recognized

This SharePoint tutorial explains, how to fix error connect-sposervice the term ‘connect-sposervice’ is not recognized as the name of a cmdlet PowerShell SharePoint. The error comes while running the Connect-SPOService cmdlet. connect-sposervice the term ‘connect-sposervice’ is not recognized Recently, while working with SharePoint Online to add a new theme in SharePoint Online using PowerShell, I … read more…

>