It would be great if Get-NotebookContent could be a little more graceful when it runs into an error converting the JSON of a .ipynb file.
For example, this command brings back an error when it tries to process an empty file that just happens to have an .ipynb file extension.
dir -Filter *.ipynb |
Get-Notebook -Path $_.FullName |
Group KernelName
Instead of an error, a simple warning message might be better?
It would be great if Get-NotebookContent could be a little more graceful when it runs into an error converting the JSON of a .ipynb file.
For example, this command brings back an error when it tries to process an empty file that just happens to have an .ipynb file extension.
Instead of an error, a simple warning message might be better?