POWERSHELL

Update Microsoft.Graph Modules on Azure Automation with Managed Identity

Andres Bohren
Hi All, The Microsoft.Graph Modules are updated very often. It annoyed me to update these Modules on my Azure Automation Account. I have now written a Azure Automation Runbook to automate the Update of the Microsoft.Graph Modules. It uses Managed Identity and updates the PowerShell 5.1 and 7.1 Modules. As mentioned the Azure Automation Account has a system assigned Service Principal That Service Principal needs Contributor Permissions on the Azure Automation Account

Microsoft.Graph PowerShell Module 1.25.0 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released a new Version of Microsoft.Graph PowerShell Modules to the PowerShell Gallery. It is the third update of these Modules this Month! Microsoft.Graph 1.25.0 Release Notes 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.

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23508.12000 released

Andres Bohren
Hi All, Yesterday, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.23508.12000. PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23508.12000 Check the installed Version and what is available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell List the Commands of the Module Get-Command -Module Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com Get some Settings Get-SPOTenant | fl Regards

WhiteboardAdmin 1.11.0 PowerShell Module released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released a new Version of the WhiteboardAdmin PowerShell Module to the PowerShell Gallery. Release Notes: Internal fixes to improve performance and reliability WhiteboardAdmin 1.11.0 To install use the commandlets below. Remember the PowerShell has to be startet “As Administrator” to uninstall/install PowerShell Modules. Get-InstalledModule WhiteboardAdmin Find-Module WhiteboardAdmin Let’s uninstall the old PowerShell Module and install the new one Uninstall-Module WhiteboardAdmin Install-Module WhiteboardAdmin Get-InstalledModule WhiteboardAdmin To list all the Commands of this Module use the following command

Microsoft.Graph PowerShell Module 1.24.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.24.0 Release Notes 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 “Cleanup finished” is shown.

Azure PowerShell Module Az 9.5.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.5.0 Release Notes 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.Graph PowerShell Module 1.23.0 released

Andres Bohren
Hi All, Somehow i missed, that already yesterday Microsoft has released a new Version of Microsoft.Graph PowerShell Modules to the PowerShell Gallery. Microsoft.Graph 1.23.0 Release Notes (Not yet listed there) 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.0.0 released as GA

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 5.0.0 to the PowerShell Gallery. MicrosoftTeams 5.0.0 Microsoft Teams PowerShell Release Notes Check installed Module and what’s available in the PowerShell Gallery Get-InstalledModule MicrosoftTeams -AllVersions Find-Module MicrosoftTeams Uninstall the old Module and install the newest Module Uninstall-Module MicrosoftTeams Install-Module MicrosoftTeams Get-InstalledModule MicrosoftTeams Testing Connect-MicrosoftTeams Get-CsOnlineUser -Identity a.bohren@icewolf.ch Some new Filering Get-CsOnlineUser -Filter {City -eq 'Bern'} | ft UserPrincipalName Get-CsOnlineUser -Filter {Company -like 'Ice\*'} | ft UserPrincipalName Get-CsOnlineUser -Filter {FeatureTypes -contains "PhoneSystem"} | ft UserPrincipalName Regards

PowerShell 7.3.3 released

Andres Bohren
Hi All, Today i realized that there is a new version of PowerShell 7. v7.3.3 Release of PowerShell I have downloaded the x64 *.msi and these are the Screenshots from the Installation. I always enable “Enable PowerShell remoting” wich is not enabled by default. Let’s start and see pwsh Get-Host Regards Andres Bohren

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23408.12000 released

Andres Bohren
Hi All, Yesterday, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.23408.12000. PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23408.12000 Check the installed Version and what is available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell List the Commands of the Module Get-Command -Module Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com Get some Settings Get-SPOTenant | fl Regards