Prafulla Patil

Results comments of Prafulla Patil

This can be done as below Add-PnPFile -Path $path -Folder $folderPath -Checkout -Publish

Got similar issue. Solved using below commands $field=Get-PnPField -List $listName -Identity $fieldName -web $web $castedDateField =[Microsoft.SharePoint.Client.ClientContext].GetMethod("CastTo").MakeGenericMethod([Microsoft.SharePoint.Client.FieldDateTime]).Invoke($ctx, $field) $castedDateField.FriendlyDisplayFormat = [Microsoft.SharePoint.Client.DateTimeFieldFriendlyFormatType]::Disabled $castedDateField.Update() $ctx.ExecuteQuery()