• This repository has been archived on 17/Nov/2021
  • Stars
    star
    109
  • Rank 310,549 (Top 7 %)
  • Language
    Jupyter Notebook
  • License
    Other
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jupyter Kernel for PowerShell

This project is archived. Try Microsoft's reimplementation in dotnet/interactive.

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

Features

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).

More Repositories

1

PowerLine

A more PowerShell prompt
PowerShell
558
star
2

BetterCredentials

A wrapper for Get-Credential offering options that it should have offered
PowerShell
152
star
3

PoshConsole

PoshConsole is a WPF control that self-hosts PowerShell, a framework for building PowerShell-based managment apps!
C#
77
star
4

Tunable-SSL-Validator

A .Net class and PowerShell module to enable best practices for SSL validation even with self-signed certificates.
PowerShell
58
star
5

NancyPS

NancyPS was Nancy self-hosted in PowerShell, with script method handlers
PowerShell
42
star
6

Profile

Because people always wish they could see your profile...
PowerShell
32
star
7

HtmlReport

Making HTML reports with charts and tables, from templates, in PowerShell
PowerShell
26
star
8

Environment

A module for working with Environment Variables and especially Path variables in a cross-platform way
PowerShell
25
star
9

Xml

My PowerShell XML module: generate, select, transform and work with XML
PowerShell
25
star
10

TreeSize

An exercise in live coding.
PowerShell
22
star
11

BoxStarter-Boxes

BoxStarter and Chocolatey Scripts for setting up my computers
PowerShell
21
star
12

PowerSite

A static page generator in .Net that is PowerShell friendly
C#
20
star
13

RequiredModules

A simpler tool for installing dependencies
PowerShell
20
star
14

Reflection

A PowerShell module for introspection and code generation in .Net and PowerShell
PowerShell
19
star
15

PTUI

A PowerShell module for cross-platform TUI experiments
PowerShell
16
star
16

Spinner

A function to make console spinners from PowerShell...
PowerShell
15
star
17

WindowsConsoleFonts

A module for working with Console fonts in Windows
C#
13
star
18

ParameterTester

Wrappers for testing command parameters
PowerShell
13
star
19

Authenticode

Code-signing wrapper functions for PowerShell to make it easier to work.
PowerShell
12
star
20

WASP

A Windows Automation Script module for Powershell
PowerShell
11
star
21

EzTheme

An extensible module for PowerShell color themes
PowerShell
10
star
22

TerminalBlocks

PowerShell
10
star
23

DevOps2019

Presentation for PowerShell + DevOps Global Summit, 2019
HTML
10
star
24

PowerShellExtension

Helper classes for using PowerShell from C#
C#
9
star
25

Path

The [Path()] attribute for command parameters
PowerShell
8
star
26

KeePassProvider

First of several PSProviders for credential managers
8
star
27

DefaultParameter

Functions for setting and saving PowerShell default parameter values
PowerShell
8
star
28

Figlet.ps1

A Figlet module for PowerShell based on auriou/FIGlet
PowerShell
8
star
29

Information

A module for crazy useful information logs
PowerShell
8
star
30

NerdFonts

Chocolatey Windows Install scripts for NerdFonts
Roff
7
star
31

snmp-demo1

An excercise in SNMP data with Splunk
7
star
32

Bing

My PowerShell Bing modules for searching, translating and ... Bing wallpapers.
PowerShell
6
star
33

PowerBot

An IRC bot in PowerShell (using SmartIrc4net)
PowerShell
6
star
34

PSAudio

A Tiny PowerShell Module based on NAudio
PowerShell
5
star
35

docker-containers

My small collection of Dockerfiles
Dockerfile
5
star
36

DevOps2023-Practices

Patterns and Practices for Sharable Scripts and Functions
PowerShell
5
star
37

Autoload

Autoload function like the Korn shell, and can inject functions into Modules
PowerShell
5
star
38

dotfiles

Using chezmoi to manage dotfiles (including my PowerShell profile)
PowerShell
5
star
39

PowerBotMQ

A multi-protocol bridging chat bot based on ZeroMQ pub-sub
PowerShell
4
star
40

ConnectorCards

A module to send connector card messages to the Office 365 API (because I can't find this command built-in).
PowerShell
4
star
41

NetCoreModuleProof

A simple cross-platform .NETStandard PowerShell module
C#
4
star
42

SublimeConEmu

Add some helper commands for using Sublime with ConEmu (and PowerShell).
Python
3
star
43

DevOps2023-Building

Invoke-Build - PowerShell in CI/CD
C#
3
star
44

BFPowerBot

BotFramework PowerBot Exploration
C#
3
star
45

xColors

A PowerShell module for loading xColors themes. Because I was tired.
PowerShell
3
star
46

Extensibility

A presentation I gave on writing extensible modules
2
star
47

PortableNativeBinariesTest

Trying Microsoft's prescription for portable libraries
C#
2
star
48

SxSTest

An example of side-by-side PowerShell modules, for test purposes
PowerShell
2
star
49

PSAINT

PowerShell Arrange-Act-Assert in Test
PowerShell
2
star
50

Kluster

Yet another way to set up Azure Kubernetes Service
PowerShell
1
star
51

KernelFun

C#
1
star
52

dynamic-powershell-example

Shows how to use ClrPlus's Dynamic Powershell classes
C#
1
star
53

SimpleVmProvisioning

Provisioning a secure VM or two...
PowerShell
1
star
54

DSC

PowerShell
1
star
55

Stella

Hosting Kestrel in PowerShell
PowerShell
1
star
56

ChoVersion

A module for switching between multiple versions of command-line tools
PowerShell
1
star
57

jaykul.github.io

My personal blog site via jekyll
HTML
1
star