Comments on: Practical Graph: Using GitHub Copilot for Microsoft 365 PowerShell Development https://practical365.com/github-copilot-powershell/ Practical Office 365 News, Tips, and Tutorials Tue, 16 Jul 2024 18:07:31 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Tony Redmond</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_296942'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_296942"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Tony Redmond</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/github-copilot-powershell/#comment-296942 Tue, 16 Jul 2024 18:07:31 +0000 https://practical365.com/?p=61121#comment-296942 In reply to Lance Lingerfelt.

Thanks and see you at TEC? Maybe…

]]>
By: Lance Lingerfelt https://practical365.com/github-copilot-powershell/#comment-296930 Tue, 16 Jul 2024 12:06:16 +0000 https://practical365.com/?p=61121#comment-296930 I use GitHub Copilot regularly with VSCode and I have run into a lot of the same issues with creating the scripts. It seems like the repository it is using for PowerShell functions just isn’t indexed properly and the AI is thinking that there is functionality that is not there. A lot of times, I need to be very specific and tell it to write the code based on using a particular cmdlet for this version of the PowerShell module. That only sometimes works better. I do wish there was more availability to Ground the repository you want to use to assure you’re getting the correct function cmdlet usage with its parameters.

ChatGPT is okay as well, but it suffers some of the same issues with parameter usage and code functionality. One thing I can say about both is that they do well to structure the code layout to make it easy to read and decode. I do hope it gets better and more standardized as Graph API PowerShell SDK becomes the only available modules platform. I think that will help as well!

Side Note: It was great to meet you in Orlando! Enjoy the blog! Thanks again!

]]>