How to Install PowerShell in Windows Server 2003?

Need PowerShell in Windows 2003?  Install “Windows Management Framework core” which includes Windows PowerShell 2.0. You need to have SP2 or later in Windows 2003. Go the KB: https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-the-windows-powershell-2.0-engine?view=powershell-7.1, download and install the appropriate KB for your environment (such as x64, x86) Once installed, you can access PowerShell  from Start > All…

Read more

Using owssvr.dll to retrieve List data in XML format

Owssvr.dll is a traditional Remote Procedure Call method to remotely invoke functions in SharePoint. It can be used to retrieve data from SharePoint list as well. syntax: https://sharepoint.com/_vti_bin/owssvr.dll?Cmd=Display&List=<<LIST-GUID>>&XMLDATA=TRUE E.g. https://intranet.sharepoint.com/_vti_bin/owssvr.dll?Cmd=Display&List={6685db48-013f-4934-8147-b7a6014eccc9}&XMLDATA=TRUE Other options: Filter &  View Append –  FilterField1=<<Field-Internal-Name>>&FilterValue1=<<Value-of-the-field>> e.g: FilterField1=Domain&FilterValue1=Sales View={ViewGuid} How to get the List GUID? Go to List settings >>…

Read more

SharePoint Farm Passphrase: What is that? How to Reset?

What is Farm Passphrase? Farm Phrase is a new security feature introduced in SharePoint 2010. When you need to join the new server to an Existing SharePoint farm, you need to enter this Farm Phrase password. While adding a new server via psconfig wizard, You have to enter the Farm’s pass phrase,…

Read more

Create – Edit – Find – Delete SharePoint Alerts using PowerShell

Welcome to another PowerShell walk-through. In this article I’m exploring Management of SharePoint Alerts using PowerShell! Enable or disable alerts for Web application Create Alert in SharePoint using PowerShell Get all alerts from a SharePoint List with PowerShell: Create Alerts for All users in a Group: Update SharePoint Alerts using PowerShell Get…

Read more

Archive (Backup and Delete) IIS Logs in SharePoint

IIS logs are the requests from clients and written into text-based log files. It captures every web page/image/script requests. By default, IIS logs stored in C:\ of WFE servers. If SharePoint is being accessed a lot, It may cause disk space problems for your OS drive so quickly. So we can change…

Read more

Extract and Download All Installed Farm Solution Packages (WSP Files) in SharePoint

There were many solution packages installed in my current SharePoint environment. During a server replacement, we noticed that the WSP file for a particular solution is missing in TFS! (Our version control repository!) To extract and download all installed solution WSP files, use these PowerShell scripts: Export all Farm Solutions (WSP) from…

Read more

Visual Upgrade All SharePoint Sites in a web application using PowerShell

After the Migration using database attachment method, Had to upgrade all sites to New SharePoint 2010 User Interface. Used this PowerShell code to accomplish. SharePoint 2010 visual upgrade using PowerShell script Or you can use the SPSite’s VisualUpgradeWebs() method: Here is the Before/After images:

Read more