Skip to content

Category: PowerShell

Add Microsoft Teams Members using PowerShell

Add Microsoft Teams Members using PowerShell In this post, we will look at how to add Teams Members using PowerShell. To find out how to create a Team using PowerShell view the following post: http://www.thatlazyadmin.com/create-new-microsoft-team-using-powershell/ To get started, we need to first get the Teams GroupId as this will be used to add the new…

Leave a Comment

Create new Microsoft Team using PowerShell

Create new Microsoft Team using PowerShell In this post, we will go through the steps for how to create a new Microsoft Team. To gets started the Microsoft Teams PowerShell module needs to be installed first, steps on how to install the Microsoft Teams PowerShell module can be found here: http://www.thatlazyadmin.com/install-microsoft-teams-powershell-module/ Once the Microsoft Teams…

Leave a Comment

Connect to Exchange servers using remote PowerShell

Connect to Exchange servers using remote PowerShell If you do not have local access to your Exchange server, you can use Exchange remote PowerShell to connect to your Exchange Servers. To get started open PowerShell on your local computer. Type the following $UserCredential = Get-Credential The create the new PSSession (Change the FQDN to that…

2 Comments

Copy Active Directory Group Members Script

Copy Active Directory Group Membership Script The following Script Copies members from one Active Directory Group to another Active Directory Group. To start the Script run: .\CopyGroupMembership.ps1 You will be prompted to enter the Group whose membership you need to copy. The you will be prompted to add the group name where you want to…

Leave a Comment

Do not allow infected files to be downloaded from SharePoint Online

Do not allow infected files to be downloaded from SharePoint Online Office 365 helps protect your environment by detecting viruses and malware in file that users upload to SharePoint Online. Files are scanned for viruses after they are uploaded. If a file is found to be infected, a property is set so that users can’t…

Leave a Comment

Disable anonymous calendar sharing in Office 365 Admin Center and PowerShell.

Disable anonymous calendar sharing in Office 365 Admin Center and PowerShell During this post, we will run down on how to disable anonymous calendar sharing in Office 365. By default, anonymous calendar sharing is enabled, as an Office 365 admin can you decide what kind of information your user share externally. With Anonymous calendar sharing…

Leave a Comment

Configure Outbound Spam Notification Office 365 Exchange Online

Configure Outbound Spam Notification Office 365 Exchange Online Outbound spam filtering is always enabled by default when customers use the service to send outbound email. If an outbound email is determined to be spam, the service routes the message through a high risk delivery pool, this reduces the probability of the normal outbound-IP pool of…

Leave a Comment

How to verify if Mailbox Auditing is enabled by Default on your Office 365 Tenant

How to verify if Mailbox Auditing is enabled by Default on your Office 365 Tenant Started from January 2019, Microsoft turned on mailbox auditing by default for all Microsoft 365 organizations. This means that the certain actions like the following will be logged and can be viewed in the mailbox audit log. Mailbox owner Delegates…

Leave a Comment