Tag: Powershell

Get SharePoint items from lists by using PowerShell
Get SharePoint items from lists by using PowerShell
Blog Posts

This post describes how to get SharePoint items from any lists by using PowerShell. In some BI architectures, where the user wants to store the data in spreadsheets or somewhere that is not stored within a database, we can usually offer the option of storing that data within a list in SharePoint. In this way,… READ MORE

Get file (download) from Sharepoint through PowerShell script
Get file (download) from Sharepoint through PowerShell script
Blog Posts

Another simple article, which provides a PowerShell script that I need to use to download a file from a Sharepoint site. So for that we are using the Pnp.Powershell module by giving the Sharepoint online credentials and then we use Connect-PnPOnline function to connect in the account from the PowerShell. The documentation of this module can be found here: PnP… READ MORE

Get all Teams a User is Part of Using PowerShell PnP
Get all Teams a User is Part of Using PowerShell PnP
Blog Posts

As you may be aware already (hopefully!), we have Microsoft Teams cmdlets surfacing in the SharePoint PowerShell PnP module since July 2020. Today, we’ll work again with those cmdlets. As a matter of fact, we’ll use 2 modules for this blog post. PowerShell PnP Azure AD So make sure you’ve got both installed to be… READ MORE

Executing CMDKEY via a PowerShell remote session
Executing CMDKEY via a PowerShell remote session
Blog Posts

I faced some troubles in executing cmdkey.exe on a PowerShell remote session, while I was trying to automate the creation of a SQL Failover Cluster Instance on Azure VMs, using Azure Premium File Share (PFS) as shared storage. You need cmdkey.exe since you must persist Azure PFS access credentials on the Credential Manager of both cluster nodes, into the… READ MORE

Using the Graph API Powershell SDK
Using the Graph API Powershell SDK
Blog Posts

Introduction For a while, when using Graph API and PowerShell I have been using my own implementations of communicating with Graph API as outlined in the following posts: Getting started with Microsoft Graph and PowerShell Authenticating with Graph API Using a Device Code However, at Ignite 2019, it was announced there is a Graph API… READ MORE