Forum Discussion

TonyRedmond's avatar
Jul 16, 2024

Using GitHub Copilot for Microsoft 365 PowerShell Development

GitHub Copilot costs $10/month. At that price level, anyone working with PowerShell should try out the AI assistance to see if it helps. But will GitHub Copilot work well with Microsoft 365 PowerShell modules like Exchange Online and the Microsoft Graph PowerShell SDK. That's what we tested and report on here.

 

https://practical365.com/github-copilot-powershell/

  • KingsleyU's avatar
    KingsleyU
    Brass Contributor

    TonyRedmond 

     

    It's great to see how much exploration you have taken in determining the responsiveness of CoPilot for Microsoft 365 in code generation tasks. However, writing prompts to elicit responses from a trained LLM require several techniques depending on the task as some LLM might not have been well trained to handle some task, hence the need to adopt the prompting techniques that fits your task.

    Prompt techniques such as chain of thought, and tree of thought are good for managing a bit more complex task than generating comments or write-host "hello world" kind of code.

     

    https://www.promptingguide.ai/

     

    In addition, sometimes, it might be helpful to write system and assistant instructions with few shot examples to guide the LLM responses for a series of similar task.

     

    However, though I doubt whether prompts are used in any way to train CoPilot for Microsoft 365, so it is expected that CoPilot responses will improve overtime. In summary, it might suffices to say that $10/month is too much or less but that depends on the user's use cases.

     

    Thanks

Resources