Powershell Script Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Tue, 13 Feb 2024 14:30:06 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://practical365.com/wp-content/uploads/2022/06/favicon.png Powershell Script Archives - Practical 365 32 32 Challenges of PowerShell Scripting with Microsoft 365 https://practical365.com/challenges-of-powershell-scripting-with-microsoft-365/ https://practical365.com/challenges-of-powershell-scripting-with-microsoft-365/#comments Mon, 16 Oct 2023 10:00:00 +0000 https://practical365.com/?p=59325 You might think that maintaining scripts and processes utilizing PowerShell is a lot of work. And truth be told, it can be. In this blog, Michel De Rooij dives into some practical tips to stay on top of your scripts.

The post Challenges of PowerShell Scripting with Microsoft 365 appeared first on Practical 365.

]]>
https://practical365.com/challenges-of-powershell-scripting-with-microsoft-365/feed/ 1
Building your Microsoft 365 PowerShell Toolbox https://practical365.com/building-your-microsoft-365-powershell-toolbox/ https://practical365.com/building-your-microsoft-365-powershell-toolbox/#comments Thu, 06 Apr 2023 10:00:00 +0000 https://practical365.com/?p=58201 PowerShell is an important tool for any Microsoft 365 Admin – particularly in larger environments. In this article, Sean McAvinue outlines some key tools and concepts to help tenant admins build a ‘toolbox’ for PowerShell to make almost any scripting task easier and more robust.

The post Building your Microsoft 365 PowerShell Toolbox appeared first on Practical 365.

]]>
https://practical365.com/building-your-microsoft-365-powershell-toolbox/feed/ 5
How to Report Teams Channel Storage with Microsoft Graph API and PowerShell https://practical365.com/how-to-report-teams-channel-storage-with-microsoft-graph-api-and-powershell/ https://practical365.com/how-to-report-teams-channel-storage-with-microsoft-graph-api-and-powershell/#respond Thu, 15 Jul 2021 07:03:00 +0000 https://practical365.com/?p=52771 Within large organizations utilizing Teams, generating reports on channel storage and then migrating this data is extremely difficult. To help map out how Teams uses SharePoint, this article introduces a simple Graph API/PowerShell script to report Teams channels and their SharePoint locations and walks you through the steps so you can run the report yourself.

The post How to Report Teams Channel Storage with Microsoft Graph API and PowerShell appeared first on Practical 365.

]]>
https://practical365.com/how-to-report-teams-channel-storage-with-microsoft-graph-api-and-powershell/feed/ 0
Creating Custom B2B Guest User Invitations with Graph API https://practical365.com/creating-custom-b2b-guest-user-invitations-with-graph-api/ https://practical365.com/creating-custom-b2b-guest-user-invitations-with-graph-api/#comments Wed, 02 Jun 2021 07:39:00 +0000 https://practical365.com/?p=52116 Azure AD business-to-business guest user accounts are a terrific way to securely grant access to apps and services for external users and partner organizations. In this article, a script is introduced that can be used to automate the guest user invitation process, integrating it more seamlessly with any custom applications.

The post Creating Custom B2B Guest User Invitations with Graph API appeared first on Practical 365.

]]>
https://practical365.com/creating-custom-b2b-guest-user-invitations-with-graph-api/feed/ 14
Prepopulating Outlook Contacts with the Graph API https://practical365.com/prepopulating-outlook-contacts-with-the-graph-api/ https://practical365.com/prepopulating-outlook-contacts-with-the-graph-api/#comments Thu, 20 May 2021 12:56:08 +0000 https://practical365.com/?p=51665 When contacts are added to an organizations Global Address List (GAL), they do not always populate in the users personal device contacts depending on what app, device, etc. is being used. This becomes problematic when users working from outside the office are unable to contact the IT Service Desk, HR, or other internal services. To solve the problem, this article introduces a PowerShell script that will read a set of standard contacts from a CSV file and write them as personal contacts to user mailboxes. Mobile devices can then synchronize these contacts along with others created by the user.

The post Prepopulating Outlook Contacts with the Graph API appeared first on Practical 365.

]]>
https://practical365.com/prepopulating-outlook-contacts-with-the-graph-api/feed/ 55
“Right to Disconnect” – Implementing a Timed Disclaimer in Exchange Online with Azure Automation https://practical365.com/right-to-disconnect-implementing-a-timed-disclaimer-in-exchange-online-with-azure-automation/ https://practical365.com/right-to-disconnect-implementing-a-timed-disclaimer-in-exchange-online-with-azure-automation/#comments Thu, 13 May 2021 07:22:00 +0000 https://practical365.com/?p=51483 Over the past year, the pandemic has disrupted traditional work patterns. With many working from home, many organizations now focus on how to help employees manage their work/life balance. Platforms like Microsoft Viva Insights can help, but there are many steps admins can take using existing technology to support a wellbeing mindset in their organization. An easy and effective change is to implement a transport rule that reminds people they have the “Right to Disconnect” when an email is received outside work hours. This article walks you through how to implement a timed disclaimer in Exchange Online with Azure Automation.

The post “Right to Disconnect” – Implementing a Timed Disclaimer in Exchange Online with Azure Automation appeared first on Practical 365.

]]>
https://practical365.com/right-to-disconnect-implementing-a-timed-disclaimer-in-exchange-online-with-azure-automation/feed/ 3
How to migrate data from a CSV file to SharePoint using PowerShell https://practical365.com/csv-file-to-sharepoint/ https://practical365.com/csv-file-to-sharepoint/#comments Tue, 19 Feb 2019 16:36:25 +0000 https://www.practical365.com/?p=42641 In this how-to guide, Daler Sayfiddinov demonstrates how to use PowerShell to migrate data from a CSV file to SharePoint.

The post How to migrate data from a CSV file to SharePoint using PowerShell appeared first on Practical 365.

]]>
https://practical365.com/csv-file-to-sharepoint/feed/ 30
The top 6 PowerShell commands you need to know to manage Office 365 https://practical365.com/the-top-6-powershell-commands-you-need-to-know-to-manage-office-365/ https://practical365.com/the-top-6-powershell-commands-you-need-to-know-to-manage-office-365/#comments Mon, 04 Feb 2019 17:08:54 +0000 https://www.practical365.com/?p=42597 Steve Goodman outlines the top six PowerShell commands which can make your daily jobs as an Office 365 adminstrator easier.

The post The top 6 PowerShell commands you need to know to manage Office 365 appeared first on Practical 365.

]]>
https://practical365.com/the-top-6-powershell-commands-you-need-to-know-to-manage-office-365/feed/ 4
How attackers bypass third-party mail filtering to Office 365 https://practical365.com/how-to-ensure-your-third-party-filtering-gateway-is-secure/ https://practical365.com/how-to-ensure-your-third-party-filtering-gateway-is-secure/#comments Sat, 17 Nov 2018 01:31:52 +0000 https://www.practical365.com/?p=41762 Attackers can bypass your third-party gateway systems delivering spam and malicious content. Office 365 architect Tony Akers writes on how to fix this.

The post How attackers bypass third-party mail filtering to Office 365 appeared first on Practical 365.

]]>
https://practical365.com/how-to-ensure-your-third-party-filtering-gateway-is-secure/feed/ 34
Create custom reports using the updated Teams PowerShell module https://practical365.com/create-custom-reports-using-the-updated-teams-powershell-module/ https://practical365.com/create-custom-reports-using-the-updated-teams-powershell-module/#comments Mon, 12 Nov 2018 13:47:21 +0000 https://www.practical365.com/?p=41737 Steve's written a script for the new update in the Microsoft Teams PowerShell module for easier access to information in the Office 365 tenant.

The post Create custom reports using the updated Teams PowerShell module appeared first on Practical 365.

]]>
https://practical365.com/create-custom-reports-using-the-updated-teams-powershell-module/feed/ 9