Managed to get rid of initial errors by editing module with to createexample
$updateSpec = $localLibraryService.Help.update.update_spec.CreateExample()
But i'm still getting this? lamw - would you be able to assist?
PowerCLI C:\> Set-ContentLibrary -LibraryName "SDC Master CL" -JSONPersistenceEnabled
Updating JSON Persistence configuration setting for SDC Master CL ...
A server error occurred: 'com.vmware.vapi.std.errors.invalid_argument': Invalid URL schema protocol. (Server error id:
'com.vmware.vdcs.cls-main.invalid_url_schema'). Check $Error[0].Exception.ServerError for more details.
At C:\temp\ContentLibraryedit.psm1:547 char:9
+ $localLibraryService.update($library.id,$updateSpec)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], CisServerException
+ FullyQualifiedErrorId : VMware.VimAutomation.Cis.Core.Types.V1.CisServerException