Category: PowerShell Tips

fig : PowerShell tutorial - Exploring "Add-Content" CMDLET 0

PowerShell tutorial – Writing to text (log) file in file system – exploring Add-Content and Set-Content CMDLETs

PowerShell tutorial – today exploring details – how to write / overwrite / append content to file on local file system

HAVE a FANTASTIC LEARNING AHEAD ! LIFE IS BEAUTIFUL 🙂

fig : PowerShell - Executing CMDLET "Add-PnPFile" - "Access denied" error 0

PowerShell – PnP – Add-PnPFile fails with “Access denied” resolving the error

Today new issue and solution. Resolving error – Access Denied while executing PowerShell CMDLET – Add-PnPFile

HAVE a FANTASTIC LEARNING AHEAD ! LIFE IS BEAUTIFUL 🙂

PowerShell - Creating new file using - New-Item 1

PowerShell tutorial – Creating text (log) file in file system – exploring New-Item CMDLET

In this article we will discuss how to create new text file using PowerShell.

Exploring New-Item PowerShell CMDLET

HAVE a FANTASTIC LEARNING AHEAD ! LIFE IS BEAUTIFUL 🙂

PowerShell CMDLET for enabling / disabling to create site collection app catalog 0

Microsoft 365 – SharePoint online – enable / disable the site collection App Catalog using PowerShell

In this article we will discuss PowerShell CMDLETs to enable / disable the SharePoint site collection app catalog

Microsoft 365 - SharePoint online - PowerShell script to create new SharePoint custom group using PnP PowerShell CMDLET - New-PnPSiteGroup 0

Microsoft 365 – SharePoint Online – Creating new SharePoint group using PnP PowerShell

In this article we will discuss – how to create SharePoint group in modern SharePoint online site using PnP PowerShell

HAVE a FANTASTIC LEARNING AHEAD!!!

0

Small Tips and Tricks – PowerShell – creating communication site – resolving error – New-SPOSite : The web template SITEPUBLISHING#0 is not available for sites on this tenant

Hi All, Greetings for the day!!! Today new issue and solution 🙂 Background Issue – Error while creating communication site with PowerShell – New-SPOSite : The web template SITEPUBLISHING#0 is not available for sites...

fig : PowerShell - PowerShell to read content of XML file 0

Small Tips and Tricks – PowerShell – how to read content from XML file

In this article we will discuss how to read content of XML file in PowerShell

HAVE a FANTASTIC LEARNING AHEAD 🙂

.NET application to execute PowerShell script 0

PowerShell – How to call / execute PowerShell script from .NET application

In this article we will discuss how to execute / call PowerShell script from .NET C# console application

Short but informative article

HAVE a FANTASTIC LEARNING AHEAD 🙂

fig : Microsoft 365 - PnP PowerShell module - errors 0

Microsoft 365 – PnP PowerShell – resolving error – Import-Module : Could not load file or assembly ‘System.Management.Automation, Version=7.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified OR – The ” command was found in the module ‘PnP.PowerShell’, but the module could not be loaded.

In this article we will resolve two PnP.PowerShell module errors

1. The ” command was found in the module ‘PnP.PowerShell’, but the module could not be loaded. For more information run ‘Import-Module PnP.PowerShell’

2. Import-Module : Could not load file or assembly ‘System.Management.Automation, Version=7.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified

HAVE A FANTASTIC LEARNING AHEAD

fig : Complete PowerShell script to download specific version of given document / file 0

Microsoft 365 – PnP PowerShell – Getting/downloading version of document – resolving error related to version history – Sorry, something went wrong – looks like we cant show the version history for this file right now

In this article we will discuss
1. Prerequisites to connect SharePoint online using PnP PowerShell
2. How to connect SharePoint online using PnP PowerShell
3. How to read file (document) / get file object using PnP PowerShell
4. How to get version history of file (document) using PnP PowerShell
5. How to read the content of file using PowerShell
6. How to download specific version of document / file using PnP PowerShell

HAVE A FANTASTIC LEARNING AHEAD 🙂