PowerShell

ExchangeOnlineManagement 3.2.0-Preview3 released

Andres Bohren
Hi All, Yesterday Microsoft has released the ExchangeOnlineManagement 3.2.0-Preview3 to PowerShell Gallery. ExchangeOnlineManagement 3.2.0-Preview3 https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.2.0-Preview3 Release Notes: v3.2.0-Preview3 : 1. Bug fixes in Disconnect-ExchangeOnline. 2. Bug fixes in Set-DefaultTenantMyAnalyticsFeatureConfig. 3. Preview of REST based cmdlets for SCC powershell: Added UseRPSSession parameter to Connect-IPPSSession Let's check what Module is installed and whats available from the PowerShell Gallery Get-InstalledModule ExchangeOnlineManagement -AllVersions Find-Module ExchangeOnlineManagement -AllowPrerelease Now let's uninistall the old Preview2 Module and install Preview3 Uninstall-Module ExchangeOnlineManagement -AllowPrerelease -Force Install-Module ExchangeOnlineManagement -AllowPrerelease -Force Get-InstalledModule ExchangeOnlineManagement -AllVersions Now you can use finally use REST Based Connection for Security and Compliance.

AIPService PowerShell Module 2.0.0.3 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has release a new Version of the AIPService PowerShell Module to the PowerShell Gallery. AIPService 2.0.0.3 https://www.powershellgallery.com/packages/AIPService/2.0.0.3 AIPService on Microsoft Learn https://learn.microsoft.com/en-us/powershell/module/aipservice/?view=azureipps Let's check the installed Version and what's available on the PowerShell Gallery Get-InstalledModule AIPService Find-Module AIPService Uninstall the old PowerShell Module and install the newest one Uninstall-Module AIPService Install-Module AIPService Get-Installed Module AIPService To connect use this Command Connect-AadrmService Let's check if it is enabled

Microsoft.Graph PowerShell Module 1.27.0 released

Andres Bohren
Hi All, Yesterday Microsoft has released a new Version of Microsoft.Graph PowerShell Modules to the PowerShell Gallery. Microsoft.Graph 1.27.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.27.0 Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases Let's check the installed Version and what's available on the PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph To install the newest Version of the PowerShell Modules and also uninstalling the old Versions, you can use my GitHub Script. It takes a while until all Modules are installed. Wait until "

Azure PowerShell Module Az 9.7.0 released

Andres Bohren
Hi All, Just a few Hours ago, a new Version of the AZ PowerShell Module has been released to PowerShell Gallery. Az 9.7.0 https://www.powershellgallery.com/packages/AZ/9.7.0 AZ Release Notes https://github.com/Azure/azure-powershell/releases/tag/v9.7.0-May2023 Show Installed AZ Module and what's available in the PowerShell Gallery Get-InstalledModule AZ Find-Module AZ #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/Azure/Cleanup-AZModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) The AZ Module is just a Wrapper Module for all AZ.* Modules Get-InstalledModule AZ.* Regards Andres Bohren

Microsoft 365 Defender Advanced Hunting with PowerShell

Andres Bohren
Hi All, You might already know, that i am a big Fan of Defender for Office 365 Advanced Hunting. It's easy and fast to analyze the last 30 Days of your Messaging Logs. Defender for Office 365 Advanced Hunting https://blog.icewolf.ch/archive/2021/08/23/defender-for-office-365-advanced-hunting.aspx I've published some of the KQL Querys in my GitHub Rpo https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/ExchangeOnline/EOPAdvancedHunting/AdvancedHunting.kql You can find Advanced Hunting it in de Microsoft 365 Defender Portal https://security.microsoft.com/v2/advanced-hunting To Access these Querys with PowerShell we need to have an Azure Active Directory Application

Microsoft.Graph PowerShell Module 1.26.0 released

Andres Bohren
Hi All, Yesterday Microsoft has released a new Version of Microsoft.Graph PowerShell Modules to the PowerShell Gallery. Microsoft.Graph 1.26.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.26.0 Microsoft Graph PowerShell Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases Let's check the installed Version and what's available on the PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph To install the newest Version of the PowerShell Modules and also uninstalling the old Versions, you can use my GitHub Script. It takes a while until all Modules are installed.

MicrosoftTeams PowerShell Module 5.1.1 released as Preview

Andres Bohren
Hi All, Today Microsoft has released the Version 5.1.1-Preview of the MicrosoftTeams PowerShell Module to PowerShell Gallery. MicrosoftTeams 5.1.1-preview https://www.powershellgallery.com/packages/MicrosoftTeams/5.1.1-preview The official Link for the Release Notes is not yet up to date https://learn.microsoft.com/en-us/MicrosoftTeams/teams-powershell-release-notes Check installed Module and what's available in the PowerShell Gallery Get-InstalledModule MicrosoftTeams Find-Module MicrosoftTeams -AllowPrerelease I'll install the Prerelease Module Side by Side with the current Module therefore i need to use the -Force Parameter Install-Module MicrosoftTeams -AllowPrerelease -Force Get-InstalledModule MicrosoftTeams -AllVersions

PowerShell 7.3.4 released

Andres Bohren
Hi All, Today i've seen that there is a new PowerShell 7 Version available. Time to Upgrade! v7.3.4 Release of PowerShell https://github.com/PowerShell/PowerShell/releases/tag/v7.3.4 I have downloaded the x64 *.msi and these are the Screenshots from the Installation. I always enable "Enable PowerShell remoting" which is not enabled by default. Use this command to check the Versiondetails pwsh Get-Host Regards Andres Bohren

Microsoft Teams Call Queue/Auto Attendant - Authorized Users

Andres Bohren
Hi All, A long awaited Feature has become to Teams Preview (Early Access). Now Authorized Users of a Call Queue or Auto Attendand can change Greetings and Anoucements. Not quite there where the "CsResponseGroupManager" from Skype for Business but a big improvement anyway https://learn.microsoft.com/en-us/skypeforbusiness/deploy/deploy-enterprise-voice/deployment-process-for-response-group In my Opinion still missing is: add / remove Members to a Call Queue (The Manager should be able to add new Teammenbers himself) Business Hours (What happens if the Team has an Event and want to close early)

Azure PowerShell Module Az 9.6.0 released

Andres Bohren
Hi All, Just a few Hours ago, a new Version of the AZ PowerShell Module has been released to PowerShell Gallery. Az 9.6.0 https://www.powershellgallery.com/packages/AZ/9.6.0 Change Log https://github.com/Azure/azure-powershell/blob/main/ChangeLog.md Show Installed AZ Module and what's available in the PowerShell Gallery Get-InstalledModule AZ Find-Module AZ #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/Azure/Cleanup-AZModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) The AZ Module is just a Wrapper Module for all AZ* Modules Get-InstalledModule AZ* Regards Andres Bohren