Skip to content

Tag: PowerShell

How to Deploy a PowerShell Script via Intune to Remove AnyDesk from Devices

How to Deploy a PowerShell Script via Intune to Remove AnyDesk from Devices In light of recent security concerns, it’s become increasingly important for IT administrators to be able to quickly respond and mitigate potential threats. One such measure could involve the removal of potentially compromised software, like AnyDesk, from all managed devices. This blog…

Leave a Comment

Streamlining Azure Lab Deployment with PowerShell

As a cloud enthusiast, I’ve crafted a PowerShell script that serves as a cornerstone for anyone looking to establish a dynamic lab environment in Azure. This script is not just a tool; it’s a gateway to a realm where testing, learning, and experimentation happen seamlessly. Hosted on GitHub within the “DeathStarScriptHub” repository, this script automates…

Leave a Comment

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

How to Restrict Users from Creating new Microsoft Teams and Office 365 Groups

The following process will prevent users in your Office 365 Tenant from creating Office 365 groups and new Microsoft Teams. To get started you will have to create a new group in Office 365 and this group will be used to manage who can create Office 365 groups in the organisation. Office 365 groups is…

7 Comments

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

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

Configure Azure AD Connect Pass Through Authentication

Configure Azure AD Connect Pass Through Authentication Azure pass-through authentication allows user to login to cloud and on-premise applications by using the same passwords. Pass-through authentication validated the password against the on-premise active directory. Prerequisite needed: Global Admin account Azure AD Connect 1.1.750.0 or later Windows Server 2012 R2 or later with TLS 1.2 enabled…

Leave a Comment