POWERSHELL

Microsoft.Graph PowerShell Module 1.10.0 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Modules. Microsoft.Graph 1.10.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.10.0 1.10.0 Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases Check the installed Version and what's on the PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph But remember, it's not one Module, it is a collection of Modules Get-InstalledModule Microsoft.Graph* I've published a PowerShell Script on my GitHub Account that uninstalls the old Modules and installs the newest one

PowerShell v7.2.5 released

Andres Bohren
Hi All, A few days ago, Microsoft has Released PowerShell v7.2.5 Download https://github.com/PowerShell/PowerShell PowerShell 7 Release Notes https://github.com/PowerShell/powershell/releases I always activate "Enable PowerShell remoting" Get-Host Regards Andres Bohren

WhiteboardAdmin 1.8.0 PowerShell Module released

Andres Bohren
Hi All, Yesterday the PowerShell Module WhiteboardAdmin has been released in Version 1.8.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 Uninstall-Module WhiteboardAdmin Install-Module WhiteboardAdmin To get the Whiteboards of a user you must use TenantAdmin Credentials Get-Whiteboard -UserId <ObjectIDofUser> Get-Whiteboard -UserId 6db8cdd5-8e93-462d-9907-994406c07f60 That's what the Result looks like Regards Andres Bohren

Calendar Availability (Free/Busy) Requests with Microsoft Graph

Andres Bohren
Hi All, I recently had a customer that wanted to write an Application to read the Availability (Free/Busy) from the Calendars of theyr users.Here is how you can do that with Microsoft Graph. First you need an Application in Azure Active Directory with an AppID / ClientID Then you need to be able to Authenticate. I usually use a Certificate for that purpose. As for the Permissions, the Application needs the following: App needs Application Permissions:

MicrosoftTeams PowerShell Module 4.4.1 released as GA

Andres Bohren
Hi All, A few hours ago Microsoft has released the MicrosoftTeams PowerShell Module 4.4.1 to GA. MicrosoftTeams 4.4.1 https://www.powershellgallery.com/packages/MicrosoftTeams/4.4.1 With the Commands below you can search and install the Module from the PowerShell Gallery. I used the -Force Parameter to have diffrent Modules installed side-by-side. Find-Module MicrosoftTeams Install-Module MicrosoftTeams -Force Connect-MicrosoftTeams Get-Module The usual Testing Get-Team Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line* Regards Andres Bohren

Recipient Management without Exchange Server behind the Scenes

Andres Bohren
Hi All, I was digging a little bit deeper into the Recipient Management without Exchange Server. I've already blogged about it how to install the Managment Tools only fo install the Recipient Management PowerShell Install and use Exchange 2019 CU12 Recipient Management PowerShell https://blog.icewolf.ch/archive/2022/04/27/install-and-use-exchange-2019-cu12-recipient-management-powershell.aspx Add-PSSnapin *RecipientManagement Get-PSSnapin As you can see on the Server the Exchange Server 2019 CU12 is installed (Management Tools only) I found the References of the PowerShell Snapins in the Registry here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapins

PowerShell 7 and PnP.PowerShell on Linux

Andres Bohren
Hi All, Recently i had a customer who wanted to upload a File on SharePoint. I've done something similar with PowerShell on Windows and Azure Automation. Upload file to SharePoint Online with PnP.PowerShell https://blog.icewolf.ch/archive/2022/01/23/upload-file-to-sharepoint-online-with-pnp-powershell.aspx Install PowerShell on Linux https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.2 As i have a CentOS8 available i did test that. There is a specific Docs from Microsoft that explains how to Install PowerShell on CentOS Installing PowerShell on CentOS https://docs.microsoft.com/en-us/powershell/scripting/install/install-centos?view=powershell-7.2 cat /etc/centos-release rpm -i https://github.

Azure PowerShell Module Az 8.0.0 released

Andres Bohren
Hi All, A few Hours ago, Microsoft has released the Azure PowerShell Module AZ v8.0.0 Microsoft Azure PowerShell AZ 8.0.0 https://www.powershellgallery.com/packages/AZ/8.0.0 Release Notes not yet udated https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-7.5.0 Check your current installed Module and what is available on PowerShell Gallery Get-InstalledModule AZ Find-Module AZ I've published a Script in my GitHub Repo to uninstall the old Modules and install the new Modules https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/AzureAD/Microsoft.Graph_HowToStart.ps1 Or you can run the Script below to directly execute that Script

Exchange Online Mail flow Alert policies

Andres Bohren
Hi All, Maybe you have noticed the new Mail flow Alert policies in Exchange Admin Center. You can define new Alert policies, define the Severity, the Insight, the recipient, the Notification Limit and sometimes also the Threshold for the Alert. For me it's a little bit odd to send an Email in case something does not work well with the Mailflow. It could be that you get the Email very late or even when the issue is already resolved.

Update Modules on Azure Automation with AZ PowerShell

Andres Bohren
Hi All, As you probably know, i am a big Fan of Azure Automation to run some Automation Scripts for M365 in Azure. When you try to install a new Microsoft Graph Module in Azure Automation from the Gallery it will fail, due its dependency for Microsoft.Graph.Authentication, because an older Version is installed. I've tried to figure out, how to update the Modules with PowerShell (too much clicking for doing it manually).