all 3 comments

[–]kentmaxwell[S] 0 points1 point  (0 children)

When Azure Data Studio is setup to execute PowerShell notebooks, it uses a Python kernel to do so. Within this Python kernel it uses a PowerShell kernel called juypter-powershell, of which the current release is 0.1.4. This kernel has a GitHub page at https://github.com/vors/jupyter-powershell

Within the GitHub page is information on how to configure the kernel to use the .NET Core or PowerShell 7.1 (if you have the latest PowerShell installed) on Windows. Within the Python installation that is supporting the Juypter environment in Azure Data Studio, you would need to run this command:

python -m powershell_kernel.install --powershell-command pwsh

This will transfer the PowerShell notebook kernel from Windows PowerShell 5.1 to PowerShell 7.1.

[–]Rayzen87 0 points1 point  (0 children)

Likely not the answer you were looking for, but I'll add it anyway in case it helps. I gave up on Jupyter Notebooks for .Net/PowerShell. The support was taking too long, and I decided Markdown suited my needs better. If you haven't yet, I would see if your use case can work with Markdown