POWERSHELL

MSIdentityTools PowerShell Module v2.0.30 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released a new Version of the MSIdentityTools PowerShell Module. MSIdentityTools 2.0.30 Check what module is installed and what Module is available from the PowerShell Gallery Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old version of the PowerShell Module and install the newest one Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools To see what commands are available use the following command Get-Command -Module MSIdentityTools Regards

ExchangeOnlineManagement 3.1.0-Preview1 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the ExchangeOnlineManagement 3.1.0-Previe1 PowerShell Module. ExchangeOnlineManagement 3.1.0-Preview1 Whats new in this release v3.1.0-Preview1 : Support for providing an Access Token with Connect-ExchangeOnline. Bug fixes in Connect-ExchangeOnline and Get-ConnectionInformation. Check what Version is installed and what’s available from the PowerShell Gallery Get-InstalledModule ExchangeOnlineManagement Find-Module ExchangeOnlineManagement -AllowPrerelease Uninstall the old Module and install the Preview Module Uninstall-Module ExchangeOnlineManagement -Force Install-Module ExchangeOnlineManagement -AllowPrerelease Get-InstalledModule ExchangeOnlineManagement Testing.

Create Azure AD App Registration with Microsoft.Graph PowerShell

Andres Bohren
Hi All, In this Blog Post i explain you how to create an Azure AD App Registration with the Microsoft.Graph PowerShell. You need to have the Azure Active Directory Role “Application Administrator” or “Application Developer”. By the way. All the Code is used here is also on my GitHub Repo CreateAADApp-MgGraph.ps1 #Import Module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Applications ############################################################################### #Connect-MgGraph #Connect to your Azure Active Directory with "Application Adminstrator" or "Global Administrator" Role ############################################################################### Connect-MgGraph -Scopes "Application.

Microsoft.Graph PowerShell Module 1.18.0 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Module. Apparently it covers the latest API version and Help as well as a minor fix. PowerShell Gallery Microsoft.Graph 1.18.0 1.18.0 Release Notes Let’s check the installed Version and what’s available on the PowerShell Gallery Get-InsalledModule 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.

MSIdentityTools PowerShell Module v2.0.26 released

Andres Bohren
Hi All, Just a few Hours ago, a new Version of MSIdentity Tools has been released. MSIdentityTools 2.0.26 Uninstall the old version of the PowerShell Module and install the newest one Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools To see what commands are available use the following command Get-Command -Module MSIdentityTools Regards Andres Bohren

Create Microsoft Teams Holidays for Switzerland 2023

Andres Bohren
Hi All, In Microsoft Teams the Holidays have always been a bit Tricky. You can create Holidays direct in Teams Admin Center under Voice > Holidays or during the Creation or Modification of a Autoattendant. The Problem is that you create the Holidays and these are mostly set up to a specific Year. Next year you have to redo the Holidays and go through all Autoattendants to see if they are still linked.

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23109.12000 released

Andres Bohren
Hi All, Some hours ago, Microsoft has released a new Version of the Microsoft.Online.SharePoint.PowerShell Module to the PowerShell Gallery. Microsoft.Online.SharePoint.PowerShell 16.0.23109.12000 Check what Module Version is installed and what’s available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Module and install the new Version Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Regards Andres Bohren

Deploy PowerShell 7 Script on Azure Automation

Andres Bohren
Hi All, In this Blog Post i explain how to Create and Depoly a PowerShell 7 Runbook for Azure Automation with the AZ PowerShell Module. #Connect to Azure Connect-AzAccount #Get Automation Account Get-AzAutomationAccount I have two Azure Automation Accounts. In this Example, we use the second one. ############################################################################### # Create Runbook ############################################################################### $accountName = "icewolfautomation" $rgName = "RG_DEV" $location = "West Europe" $RunbookName = "DemoPS7" $scriptContent = @' #Connect to Exchange with Managed Identity $tenant = "icewolfch.

How to Manage PowerShell 5 and 7 Modules on Azure Automation

Andres Bohren
Hi All, As you might already know, i am a big Fan of Azure Automation. Recently i have used “Managed Identity with Exchange Online on Azure Automation”. Yesterday there was a Release of “Microsoft.Graph PowerShell Module 1.17.0” and the Question of how to update the PowerShell Modules on Azure Automate arises once again. Basically i’ve covered that already in a Blog Post earlyer this Year “Update Modules on Azure Automation with AZ PowerShell”.

Azure PowerShell Module Az 9.1.1 released

Andres Bohren
Hi All, Microsoft has released the AZ 9.1.1 PowerShell Module to the PowerShell Gallery just a few Hours ago. Az 9.1.1 Show Installed AZ Module and what’s available in the PowerShell Gallery Get-InstalledModule AZ -AllVersions Find-Module AZ To uninstall all the old Modules and install the new Modules i have written a PowerShell Script that is published at my GitHub Repo. #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub\_PowerShellScripts/main/Azure/Cleanup-AZModules.ps1" Invoke-Expression $($ScriptFromGitHub.