Skip to content
Jupyter Kernel for PowerShell
Jupyter Notebook C# PowerShell
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode (Temporarily) remove Windows PowerShell support. Mar 4, 2018
Source Fix chocolatey build Apr 25, 2018
binder Add a binder-specific dockerfile with no build step Apr 24, 2018
.gitattributes Add .gitignore and .gitattributes. Jun 17, 2017
.gitignore Fixed LInux build! Mar 7, 2018
Dockerfile Use my powershell:dotnet-sdk image to build Apr 20, 2018
Features.ipynb Add a binder-specific dockerfile with no build step Apr 24, 2018 Initial Commit Jun 24, 2017
LiterateDevOps.ipynb Add a binder-specific dockerfile with no build step Apr 24, 2018 Add Revealjs presentation Apr 5, 2018
ReadMe.ipynb Fixed LInux build! Mar 7, 2018 The choco package 1.0.0 is done Apr 25, 2018
Release.ipynb Create Chocolatey package Jul 17, 2017
build.ps1 Fix chocolatey build Apr 25, 2018
jupyter-powershell.nuspec Fix chocolatey build Apr 25, 2018
nteract - plotly.ipynb Begin adding support for Comm Mar 4, 2018

A Jupyter Kernel for PowerShell

Create PowerShell notebooks in a web browser, with commands and captured output. Add markdown blocks for documentation!

You can use Jupyter with PowerShell to produce documentation of your troubleshooting, researching, and even your regular processes. You can also use HTML and Javascript with your PowerShell data to create visual reports, do numerical analysis, etc.

Get it for yourself

The easiest way to try the kernel is using Binder. You can just click here: Binder

The next easiest way is using docker (if you have docker installed). You can start a copy like this:

docker run -it --rm -p 8888:8888 jaykul/powershell-notebook-base

You can also install the kernel locally (assuming you have Jupyter or a clone installed) using chocolatey:

choco install jupyter-powershell

Current Status

The PowerShell kernel is based on PowerShell Core, in order to be cross-platform and standalone.

At this point, I'm only handling two messages:

  • KernelInfo request
  • Execute request


Since Jupyter is all about interaction and documentation, if you want details about the features, you can read the Features notebook here on github, or by running the binder link above.

PowerShell Core

In order to get cross-platform support, this kernel is based on PowerShell Core.

To build it yourself --or to run the "PowerShell (Core)" kernel-- you need dotnet core 2. You can build it by running dotnet restore; dotnet build from the root. If you want to build it in Visual Studio, you need VS 2017 version 15.3 or higher.

A Note on the Jupyter library

This kernel is being written in C#, and in the process, I've taken some messaging code from the iCSharp kernel and made a generic library for .Net with a re-usable core for anyone who needs to create Jupyter kernels in .Net languages -- so feel free to borrow that if you like (it's under the Apache license).

You can’t perform that action at this time.