PowerShell

PnP.PowerShell 1.11.0 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released the V1.11.0 of the PnP.PowerShell Module to PowerShell Gallery PnP.PowerShell 1.11.0 https://www.powershellgallery.com/packages/PnP.PowerShell/1.11.0 PnP.PowerShell Changelog https://github.com/pnp/powershell/blob/dev/CHANGELOG.md Check the installed Version and the Version in PowerShell Gallery Get-InstalledModule PnP.PowerShell Find-InstalledModule PnP.PowerShell Uninstall the old Module and install the new Version of the Module Uininstall-Module PnP.PowerShell Install-Module PnP.PowerShell Now you can use the PowerShell Module. Some example code below. Connect-PnPOnline -Url "https://icewolfch.sharepoint.com/sites/DemoTemplate/" -Interactive Get-PnPContext

MSIdentityTools PowerShell Module v2.0.14 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new Version of the MSIdentity Tools PowerShell Module. MSIdentityTools https://www.powershellgallery.com/packages/msidentityTools/2.0.14 Search the PowerShell Gallery and install the PowerShell Module Find-Module MSIdentityTools Install-Module MSIdentityTools To view the Commands of the Module use the command below Get-Command -Module MSIdentityTools You need to connect with Microsoft Graph first. For instance you can check if an emailadress has a MicrosoftAccount Connect-MgGraph Get-MsIdHasMicrosoftAccount -Mail a.bohren@outlook.com

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.22615.12000 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.22615.12000 PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.22615.12000 https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/16.0.22615.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 Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com Get some Settings Get-SPOTenant | fl Regards Andres Bohren

Microsoft Teams Voicemail Settings for Users and Admins

Andres Bohren
Hi All, There are some News in Microsoft Teams regarding Voicemail. In Teams Admin Center you can set the Call answering Rules That's also possible with the get/set-CsUserCallingSettings Get-CsUserCallingSettings -Identity a.bohren@icewolf.ch The User can control these Settings in the Teams Client under Settings > Calls If the user clicks on "Voicemail" another Screen appears with some settings There is a new Website, where the user can control these Settings. By the way do you spot the diffrence of the Language for Greeting in Teams Client.

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