Closed cadayton closed 4 years ago
you are right, it does fail. Will check. for now please use the workaround:
$docs = Get-Service BITS |
select @{Name = "_id"; E = { $_.Name } }, DisplayName, Status, StartType |
ConvertTo-LiteDbBSON
$docs | Update-LiteDBDocument -Collection test
Thanks!! The workaround work for me.
Using the example presented in the README and other testing code (https://cadayton.keybase.pub/PSGallery/Scripts/psConsole.html), the Update-LiteDBDocument command is consistently failing with the same error message.