Microsoft 365 PowerShell Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Thu, 11 Jul 2024 18:45:53 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://practical365.com/wp-content/uploads/2022/06/favicon.png Microsoft 365 PowerShell Archives - Practical 365 32 32 Practical Graph: Using GitHub Copilot for Microsoft 365 PowerShell Development https://practical365.com/github-copilot-powershell/ https://practical365.com/github-copilot-powershell/#comments Tue, 16 Jul 2024 10:00:00 +0000 https://practical365.com/?p=61121 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.

The post Practical Graph: Using GitHub Copilot for Microsoft 365 PowerShell Development appeared first on Practical 365.

]]>
https://practical365.com/github-copilot-powershell/feed/ 2
Mastering Microsoft 365 PowerShell Scripting https://practical365.com/microsoft-365-powershell-scripting/ https://practical365.com/microsoft-365-powershell-scripting/#respond Mon, 11 Dec 2023 11:00:00 +0000 https://practical365.com/?p=59494 A common question at conferences is how to start with Microsoft 365 PowerShell scripting. We all have our own approach. This article lays out a simple three-step method to write scripts to interact with Microsoft 365 objects.

The post Mastering Microsoft 365 PowerShell Scripting appeared first on Practical 365.

]]>
https://practical365.com/microsoft-365-powershell-scripting/feed/ 0
Avoid Windows Task Scheduler When Running Microsoft 365 PowerShell Scripts https://practical365.com/dump-task-scheduler/ https://practical365.com/dump-task-scheduler/#comments Tue, 23 May 2023 10:00:00 +0000 https://practical365.com/?p=58477 Many people use the Windows Task Scheduler to run PowerShell scripts. The Task Scheduler works, but it creates a dependency on a specific workstation and isn't as secure as you might like. Running Microsoft 365 PowerShell scripts in Azure Automation is a much better idea. It's time to dump the Task Scheduler!

The post Avoid Windows Task Scheduler When Running Microsoft 365 PowerShell Scripts appeared first on Practical 365.

]]>
https://practical365.com/dump-task-scheduler/feed/ 1
The Confused State of Microsoft 365 PowerShell https://practical365.com/microsoft-365-powershell-confusion/ https://practical365.com/microsoft-365-powershell-confusion/#comments Thu, 14 Jul 2022 05:12:00 +0000 https://practical365.com/?p=56811 Microsoft 365 PowerShell is not a single entity. Rather, it spans a mixture of workload-specific modules and the Microsoft Graph PowerShell SDK. When the time comes to write a new script, what should a developer choose to use?

The post The Confused State of Microsoft 365 PowerShell appeared first on Practical 365.

]]>
https://practical365.com/microsoft-365-powershell-confusion/feed/ 7