youtube image
From YouTube: PowerShell predictors - PnP PowerShell and CLI for Microsoft 365

Description

In this 17-minute developer-focused demo, Anoop Tatti shares how the team has created an extension that allows you to add PnP cmdlets to the open-source PSReadLine module that predicts or suggests PnP PowerShell and CLI for Microsoft 365 cmdlets when typing on the cmd line. The predictor capability in PowerShell 7 suggests recently used cmdlets (History) and now PnP cmdlets (PnP Predictor). Select a cmdlet and cycle through arguments. This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on November 10, 2022.

Demo Presenter
• Anoop Tatti (Content + Cloud) | @anooptells

Supporting materials
• Repo - PowerShell predictors | https://github.com/pnp/predictors
• Documentation - How to create a command-line predictor | https://learn.microsoft.com/powershell/scripting/dev-cross-plat/create-cmdline-predictor?view=powershell-7.2z
• Library – PnP PowerShell | https://pnp.github.io/powershell/

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community