PowerShell offers an excellent way to measure command line execution times with “Measure-Command” and Script Block. With the example below, we run 10 repetitions to connect to SharePoint online and measure the response time in milliseconds. Cheers!
Cloning a project server environment is not a simple procedure. Wanted to share notes to help others. Duplicating the SQL databases is a good start. However, there are internal issues with duplicate GUID (same number already in use) that can create issues.
With a fresh new GUID in place we can follow steps in SharePoint Central Admin, PowerShell, and PWA Settings to bring the new PWA database pairs (SharePoint Content + Project Plans) online for customers. Word DOC included below with step-by-step detail. Cheers!
Recently I came across the error message below when download a SharePoint 2013 List item REST api call to PowerShell. The cmdlet ConvertFrom-JSON does an excellent job. However, it is case sensitive with property names.
The resolution I found was to first string replace (case sensitive) to rename one of the source property names. Cheers!
Screenshot – Before
ConvertFrom-Json : Cannot convert the JSON string because a dictionary that was converted from the string contains the duplicated keys ‘Id’ and ‘ID’.
Recently I came across the error below when upgrading a SharePoint 2016 farm. Expected product behavior and simply a case of training SharePoint Administrators to use PSCONFIG.EXE command line instead. Cheers!
Command line error.Invalid parameter.
stsadm–oupgrade command has been replaced by psconfig.exe-cmdupgrade