MicrosoftTeams PowerShell Module 4.3.0 released

Hi All,

Yesterday Microsoft released Microsoft Teams PowerShell Module 4.3.0 GA in PowerShell Gallery.

Seems to be mostly fixes.

Find-Module MicrosoftTeams
Install-Module MicrosoftTeams -Force

Check if the newest Module has been imported

Import-Module
Get-Module

Testing

Connect-MicrosoftTeams
Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*

Regards
Andres Bohren

Install Putty from Microsoft Store

Hi All,

Did you know that you can install Putty from the Microsoft Store?

But watch out for some “fakes” or other 3rd Partys that try to use well known Programs or App Names.

Regards
Andres Bohren

Install and use Exchange 2019 CU12 Recipient Management PowerShell

Hi All,

With the recent Release of Exchange Server 2019 CU12 Microsoft Announced the Exchange Recipient Management without Exchange Server.

Manage recipients in Exchange Hybrid environments using Management tools

In my LAB Environement i've removed Exchange a while ago.
Now i will install only the Management Tools to see how we can manage Exchange Recipients

Cumulative Update 12 for Exchange Server 2019 (KB5011156)

It should be clear, but you can't install the Management Tools on a Server where already another Version of Exchange is installed



I've downloaded the Exchange Server 2019 CU 12, mounted the ISO File and started setup.exe in a elevated Command Prompt








As there does not exist any Exchange Organization the Schema and Active Directory has to be prepared.










As expected only the Management Tools have been installed


But the Exchange Management Shell (EMS) does not work, due there is no Exchange Server to Connect


Same applies to the Exchange Toolbox MMC - no Exchange Server to Connect


If you have an Exchange installation. Do not uninstall it - this will delete all Exchange Schema Properties and therefore sync the deletion to Azure AD. Just shut it down and delete the Computer Object in Active Directory.
Make sure you don't need any Exchange Servers for Mail Flow anymore.


I did remove the Exchange Objects in Active Directory Configuration Partition with the Script below

Make sure the OU is not write Protected



cd C:\Program Files\Microsoft\Exchange Server\V15\Scripts
.\CleanupActiveDirectoryEMT.ps1



To use the Exchange Recipient Management Cmdlets, you have to add the following PSSnapin

Add-PSSnapin *RecipientManagement
Get-PSSnapin
Get-Command -PSSnapin Microsoft.Exchange.Management.PowerShell.RecipientManagement



With the "Add-PermissionForEMT.ps1" Script you can add a Group that has Permission on every OU in the Forest/Domain or you can specify the Parameter -RecipientOUs "CN=OU1,DC=contoso,DC=com,CN=OU2,DC=contoso,DC=com"

cd "C:\Program Files\Microsoft\Exchange Server\V15\Scripts"
.\Add-PermissionsForEMT.ps1





The Script creates "Recipient Management EMT" in the "Users" OU



It is a Mail-Enabled Security Group with Group Scope "Universal"



You can see the Permissions on the OU



The Script applies Permissions for the "Recipient Management EMT" Group to the EmailAddressPolicies, Accepted Domains in the Config Partition and on All or the specified OU's.



Regards
Andres Bohren


Exchange 2016/2019 2022 H1 Cumulative Updates released

Hi All,

Apart from the Exchange 2016/2019 Cumulative Update there have been some major Changes annouced today on the Exchange Team Blog

  • Servicing Model changes from Quarterly Updates to Semi-anual (target March and September)
  • Exchange 2019 CU12 Microsoft introduces a Free Exchange License for the Exchange Server
  • Exchange 2019 CU12 supports now a MFA enabled Acccount for Hybrid Management PowerShell (Get-HybridAgent, UpdateHybridApplication, Get-HybridApplication, Remove-HybridApplication)
  • Exchange 2019 CU12 supports now Windows Server 2022 OS
  • The latest Exchange CU Supports now Windows Server 2022 Active Directory
  • Exchange 2019 CU12 comes a new Management Tools Role that eliminates the need of having an Exchange 2019 Server in a Hybrid Environement (Manage recipients in Exchange Hybrid environments using Management tools)

Released: 2022 H1 Cumulative Updates for Exchange Server

Cumulative Update 23 for Exchange Server 2016 (KB5011155)

Cumulative Update 23 for Exchange Server 2016 (KB5011155)


















Regards
Andres Bohren


Exchange HealthChecker

Hi All,

Do you know the Exchange Server HealthChecker Script from the Microsoft Exchange CSS Team?
It's recommended to run after you Install Exchange Server or after a Security or Cumulative Update.

Exchange Server HealthChecker


I've downloaded the Script already. If you run the Script it will check for a new Version.
As you can see the Script was updated, but you have to restart the Exchange Management Shell.

.\HealthChecker.ps1






Regards
Andres Bohren


MSIdentityTools PowerShell Module v2.0.10 released

Hi All,

Today Microsoft has released a new Version of the MSIdentityTools PowerShell Module

MSIdentityTools 2.0.10

Find-Module MSIdentityTools


If you have already installed a Version of the PowerShell Module
Uninstall-Module MSIdentityTools

Install the PowerShell Module

Install-Module MSIdentityTools
Get-Command -Module MSIdentityTools


Get-MsIdAzureIpRange | measure
Connect-MgGraph
Resolve-MsIdTenant -TenantValue icewolfch.onmicrosoft.com



Regards
Andres Bohren