PowerShell

PnP.PowerShell 2.1.1 released

Andres Bohren
Hi All, Just a few Hours ago, a new Version of PnP.PowerShell has been released to the PowerShell Gallery. There has been a bump to Version 2 since the last Version 1.12 in November 2022. PnP.PowerShell 2.1.1 https://www.powershellgallery.com/packages/PnP.PowerShell/2.1.1 Release Notes https://github.com/pnp/powershell/releases To check what version is installed and what's available from the PowerShell Gallery use the following Commands Get-InstalledModule PnP.PowerShell Find-Module PnP.PowerShell Uninstall the old version of the PowerShell Module and install the new one Uninstall-Module PnP.

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 https://www.powershellgallery.com/packages/Microsoft.Graph/1.25.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.

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 https://www.powershellgallery.com/packages/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 Andres Bohren

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 https://www.powershellgallery.com/packages/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 Get-Command -Module WhiteboardAdmin

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 https://www.powershellgallery.com/packages/Microsoft.Graph/1.24.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.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 https://www.powershellgallery.com/packages/az/9.5.0 Release Notes https://learn.microsoft.com/en-us/powershell/azure/release-notes-azureps 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 https://www.powershellgallery.com/packages/Microsoft.Graph/1.23.0 Release Notes (Not yet listed there) 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.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 https://www.powershellgallery.com/packages/MicrosoftTeams/5.0.0 Microsoft Teams PowerShell Release Notes 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 -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 <Identity> Some new Filering Get-CsOnlineUser -Filter {City -eq 'Bern'} | ft UserPrincipalName Get-CsOnlineUser -Filter {Company -like 'Ice*'} | ft UserPrincipalName Get-CsOnlineUser -Filter {FeatureTypes -contains "

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 https://github.com/PowerShell/PowerShell/releases/tag/v7.3.3 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