SharePoint Folder shows Empty in Windows Explorer!

Problem: SharePoint Online folder appears empty in the File Explorer view! We confirmed the specific folder has files and subfolders by browsing through the web browser. However, in the Explorer view, the SharePoint folder appears empty! Here is the Folder in Browser View: The same SharePoint folder shows empty in the mapped…

Read more

SharePoint Server: Download Documents from a CSV File using PowerShell

Requirement: Download files in the SharePoint document library from a CSV file to a local disk. PowerShell Script to Download Documents from SharePoint If you need to quickly and easily download your SharePoint documents from a CSV file, PowerShell is the tool for you. This quick guide will show you how to…

Read more

Fix “Get-SPWeb : The term ‘Get-SPWeb’ 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.” Error in PowerShell

Problem: When trying to run a SharePoint PowerShell script, I got the below error: Get-SPWeb : The term ‘Get-SPWeb’ 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…

Read more

How to Change Personal View to Public in SharePoint Online?

Requirement: Change a personal view to public in SharePoint Online. How to make a Personal View to Public in SharePoint?  We cannot change a personal view to the public in SharePoint either through web UI or with programmatic approaches (C#, PowerShell, etc.). This is because, When a view is created, The SPView.PersonalView…

Read more

Get Documents Inventory for a Site Collection using PowerShell

Requirement: Get all documents inventory in a CSV format from a SharePoint Site collection. PowerShell to Get Documents Inventory of a SharePoint Site: SharePoint Site collections can quickly become cluttered with files and documents. The document inventory can help keep track of what is stored in each site collection and where specific…

Read more

How to use an Encrypted Password File in PowerShell Scripts?

Requirement: Use an encrypted password file in PowerShell scripts. How to use an Encrypted Password File to Read/Write Credentials in PowerShell? PowerShell modules like PnP PowerShell offers a mechanism to use Windows credentials store to Save and retrieve user name and password to use it in scripts. However, for other PowerShell modules…

Read more

How to Map a SharePoint Online Document Library as a Network Drive?

Requirement: Map SharePoint Online library as a network drive. How to map SharePoint Online as a network drive? In SharePoint Online, you can use Map as a network drive to access your SharePoint files in File Explorer on your computer. When you map SharePoint as a network drive, you can manage/upload/download files…

Read more

SharePoint Server: Find out Who has Deleted a Site Collection

Requirement: Find out who has deleted a site collection in SharePoint 2016 server. SharePoint Site Collection deletion is a serious matter as it can lead to data loss and business disruption. In some cases, it can happen accidentally by a user with permission or maliciously by a user with access to SharePoint….

Read more

How to Make a Subsite Read-Only in SharePoint using PowerShell?

Requirement: Make a SharePoint Subsite read-only. This method replaces all other permissions applied on the subsite with “Read” and can’t be reverted! Make sure you are proceeding only in scenarios where you don’t need to revert the read-only (E.g. Post migration)! You can take backup of the existing permissions though. If you…

Read more