youtube image
From YouTube: Validating PowerShell parameters with SharePoint Information

Description

In this 13-minute developer-focused demo Todd Klindt shows you how to create your own PowerShell cmdlet that allows you to pull and tab through information from a site, list, text file, Azure, Graph, etc. within PowerShell environment. Learn by working through a scenario how ValidateSet and ValidateScript attributes and [ArgumentCompleter] help you deliver a better user experience, reduce bad data and make you a better coder! Bonus insight on working with chatGPT to deliver concise code.

This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on May 11, 2023.

Demo Presenter
• Todd Klindt (Sympraxis Consulting) | @ToddKlindt

Community Call Conversation
• aka.ms/May11-Demo3

Supporting materials
• Validation Repo – PoshPnP | https://github.com/ToddKlindt/PoshPnP
• Project Repo - PnP PowerShell | https://pnp.github.io/powershell/

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