Category: Windows PowerShell

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 🙂

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 : 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 🙂

2

PowerShell tutorial – Write a CSV file with PowerShell using the Export-CSV

Write a CSV file with PowerShell using the Export-CSV function

0

Microsoft 365: Get Site Collection Administrators in SharePoint Online and Export to CSV using PowerShell

Microsoft 365: Get Site Collection Administrators in SharePoint Online and Export to CSV using PowerShell

1

Microsoft Teams : Governance – Check for duplicate Teams in a Tenant and Create bulk Teams and add Owners, Members through PowerShell

Microsoft Teams : Governance – Check for duplicate Teams in a Tenant and Create bulk Teams and add Owners, Members through PowerShell

%d bloggers like this: