Skip to content

Category: PowerShell

Callout External Senders in Outlook

What is External Sender Callouts? External Callouts is what some organisations use to inform their staff that an email is coming from outside of their environment. IT Admins has created transport rule like this one http://www.thatlazyadmin.com/how-to-prepend-office-365-email-subject-when-email-is-received-from-external-sender/ The transport rule approach has some limitations which has been listed by Microsoft based on feedback from customers. You…

1 Comment

How to create a new Azure virtual machine using Azure PowerShell and Azure CLI

How to create a new Azure virtual machine using Azure PowerShell In this post, we will look at how to deploy a new Azure virtual machine using Azure PowerShell. In this post we will also look at creating a new VM using the Azure CLI. To get started we ned to start by installing the…

2 Comments

How to prevent Microsoft Teams Guest users from inviting Guests.

How to prevent Microsoft Teams Guest users from inviting Guests. In this short post, we will look at how to prevent guest users in Microsoft Teams from inviting guests. To get started navigate to https://portal.azure.com From the admin portal, click on Azure Active Directory. Click on User Settings Under External users, click on Manage external…

6 Comments

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