In this 17minute developerfocused demo, Anoop Tatti shares how the team has created an extension that allows you to add PnP cmdlets to the opensource 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 commandline predictor | https://learn.microsoft.com/powershel...
• 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