Category: PowerShell Tips

fig : PowerShell - snap of complete script and output 0

Small Tricks and Tips : Microsoft 365 – PnP PowerShell – Breaking permission inheritance on subsites, all lists and list items

In this article we will discuss – how to break inheritance on SharePoint online subsites, lists and listitems using PnP PowerShell.

HAVE A GREAT LEARNING AHEAD!!!

fig : PowerShell - Exploring New-Object - Help on New-Object 0

Small Tricks and Tips – PowerShell – CSV file – writing string / append string – exploring New-Object PSObject

In this article we will discuss how to write string to CSV file. We will explore New-Object CMDDLET. We will discuss PSObject type.

HAVE A GREAT LEARNING AHEAD!!!

fig : Microsoft 365 - Connect-PnPOnline - exception while connecting to site, this exception is because MFA is enabled for the current user 2

Microsoft 365 : PowerShell – Connect-PnPOnline – resolving error – AADSTS50126: Error validating credentials due to invalid username or passwordMicrosoft – even though user name and password are correct

In this article we will discuss – how to resolve error while connecting to SharePoint using Connect-PnPOnline

We will also discuss how to connect SharePoint site using Connect-PnPOnline when MFA is enabled

HAVE A FANTASTICE LEARNING AHEAD!!!

Microsoft 365 - Complete PowerShell script - to add user as a Site Collection Administrator 0

Microsoft 365 : SharePoint Online – PowerShell script to add / remove given user as Site Collection Administrators

Sharing one more PowerShell script – Adding / Removing given user as Site Collection Administrator to the given site

HAVE A FANTASTIC TIME AHEAD 🙂 LIFE IS BEAUTIFUL 🙂

PnP PowerShell to remove SharePoint online file 0

Microsoft 365 : SharePoint Online – PowerShell script to delete file using PnP PowerShell

In this article we will discuss how to remove any file on given path using PnP PowerShell.

HAVE A FANTASTIC TIME AHEAD 🙂

reading text file content in PowerShell 2

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

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

Small demo of Get-Content PowerShell CMDLET

Exchange admin center - Mail flow settings 2

Microsoft 365 : Exchange Online / PowerShell – Resolving error – Send-MailMessage : The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail

Microsoft 365 : Exchange Online / PowerShell – Resolving error – Send-MailMessage : The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail

Sending an email through PowerShell

Send-MailMessage – PowerShell CMDLET

fig : Windows PowerShell - appcmd utility - to take the backup of IIS 0

Windows server : PowerShell – Error : appcmd.exe : The term ‘appcmd.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Windows server : PowerShell – Error : appcmd.exe : The term ‘appcmd.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Today new issue and solution!

HAVE A FANTASTIC TIME AHEAD 🙂

fig : PowerShell - Get-InstalledModule CMDLET - Get the details of respective module 3

Small Tips and Tricks – how to know the version of any installed PowerShell module – Get-InstalledModule

Small Tips and Tricks – how to know the version of any installed PowerShell module – Get-InstalledModule

Get-Command - get all CMDLETs for specific module 16

PowerShell – Exploring Module CMDLETs

PowerShell -Module CMDLETs

In this article we will discuss all CMDLETs related to Modules

HAVE A FANTASTIC TIME AHEAD 🙂