/notebooks

Various notebooks

Primary LanguageJupyter NotebookMIT LicenseMIT

notebooks

This GitHub repo contains assorted PowerShell code examples published in Jupyter/Polyglot Notebook files.

The basis of this was heavily inspired by the MMS presentation materials by Scott Corio (@scottcorio) and Nathan Ziehnert (@theznerd).

That led me down a rabbit for hours, days, weeks, exploring how different approaches to a given task could vary widely with regards to performance.

Please help support MMS MOA, as well as Scott Corrio and Nathan Ziehnert, and user groups like:

These geniuses have helped me many many times! I'm sure they'll be helpful to you as well.

How to Use These Examples

  • Install Visual Studio Code
  • Install the Visual Studio Code extensions:
    • PowerShell (or PowerShell Preview)
    • .NET Interactive Notebooks (requires the .NET 6 SDK also)

Tips

  • Run each code block in order from top to bottom (gradually, compare output times)
  • Run each code block at least 3 times, to get an average time
  • Try modifying the examples to see how it affects execution time
  • Share feedback here using the "Issues" link above

Enjoy!