POWERSHELL

MicrosoftTeams PowerShell Module 6.2.0 released

MicrosoftTeams PowerShell Module 6.2.0 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 6.2.0 to the PowerShell Gallery. PowerShell Gallery MicrosoftTeams 6.2.0 Read more details in the Release Notes. I am using the new PSResourceGet here instead of the PowerShellGet commands. Check installed Module and what’s available in the PowerShell Gallery Get-InstalledPSResource MicrosoftTeams -Scope CurrentUser Find-PSResource MicrosoftTeams Uninstall the old Module and install the newest Module Uninstall-PSResource MicrosoftTeams -Scope CurrentUser Install-PSResource MicrosoftTeams -Scope CurrentUser Get-InstalledPSResource MicrosoftTeams -Scope CurrentUser Some basic testing
PSMSALNet 0.1.0 has been released

PSMSALNet 0.1.0 has been released

Andres Bohren
Hi All, Just a few Hours ago, i have seen that a new PSMSALNet PowerShell Module has been released. It is used to get EntraID Tokens and is basically a wrapper for MSAL and the Microsoft.Identity.Client.dll. PowerShell Gallery PSMSALNet 0.1.0 What’s new from the ChangelogChangelog [0.1.0] - 2024-05-15 Added Added ConvertFrom-Jwt function Added ConvertFrom-Jwt tests [0.0.9] - 2024-05-10 Added Bump in MSAL version (4.60.3) + all external dependencies Add Get-EntraToken more managed identity exemples into the functions Bump to net8.
Convert HTML to Markdown with PowerShell

Convert HTML to Markdown with PowerShell

Andres Bohren
Hi All, About a year ago i have changed my Blog from Subtext to Hugo. Blog changed to Hugo and Azure Static Web App Since then i write my Blog Articles in Markdown and i am pretty happy with that. I’ve exported all the old Blog Articles from Subtext with the Relevant information to HTML. That HTML Code contains a lot of unnessecary formating. While Hugo can use HTML as Input, it sometimes makes the rendering of old Sites not very good
Microsoft.Graph PowerShell Modules 2.19.0 released

Microsoft.Graph PowerShell Modules 2.19.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.19.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.19.0 PowerShell Gallery Microsoft.Graph.Beta 2.19.0 Release Notes [v2] Weekly OpenApiDocs Refresh [v2] Examples Update Adds list of cmdlet changes as part of breaking change communication Backward Compatibility to address issues in 2.17.0 and 2.18.0 Fixes Invoke-MgGraphRequest issue I am using the new PSResourceGet here instead of the PowerShellGet commands. I’ve changed the Scope from “AllUsers” to “CurrentUser” in this Article - with that you don’t need to Run PowerShell as Administrator anymore.
Update Microsoft.Graph Modules on Azure Automation with Managed Identity V2

Update Microsoft.Graph Modules on Azure Automation with Managed Identity V2

Andres Bohren
Hi All, Over a Year ago, i wrote an Article on how to Update the Microsoft.Graph PowerShell Modules on Azure Automate with ManagedIdentity Update Microsoft.Graph Modules on Azure Automation with Managed Identity Why do you write an Article again? There has been some improvements. With the AZ 11.2.0 released in January 2024 there was an update with the Az.Automation Module Az.Automation 1.10.0 Updated Module operation cmdlets to support Powershell 7.2 I did publish an Article about that here
ExchangeOnlineManagement 3.5.0 - Preview2

ExchangeOnlineManagement 3.5.0 - Preview2

Andres Bohren
Hi All, A few days ago, Microsoft has released the ExchangeOnlineManagement 3.5.0-Preview2 PowerShell Module. PowerShell Gallery ExchangeOnlineManagement 3.5.0-Preview2 News: Since 3.4.1-Preview1 there are two new Dependencies Some new or updated Commands around Viva Commands Wondering why PowerShellGet is required with Version 1.0.0.1 and not the current Version 2.2.5 I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource ExchangeOnlineManagement -Scope CurrentUser Find-PSResource ExchangeOnlineManagement -Prerelease Install Preview Version
Manage M365 DNS Records with PowerShell

Manage M365 DNS Records with PowerShell

Andres Bohren
Hi All, I guess all M365 Admins know how to Manage the M365 Domains in Admin Portal Did you know that you can also manage them via Microsoft.Graph PowerShell Modules? You need to connect with the Scope “Domain.Read.All” or “Domain.ReadWrite.All” MS Learn domain resource type Connect-MgGraph -Scopes Domain.Read.All Admin consent List Domains in M365 Tenant Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomain List Service Configuration DNS Records for a specific Domain Get-MgDomainServiceConfigurationRecord -DomainId icewolf.ch List details of the MX Record
Manage Sheduled Tasks with PowerShell

Manage Sheduled Tasks with PowerShell

Andres Bohren
Hi All, I’ve had some work to do with Scheduled Tasks and schedule a PowerShell Script with PowerShell. This Article shows you how you can list, create, export and import Scheduled Tasks. List PowerShell Commands for Scheduled Tasks Get-Command *ScheduledTask* These are the Scheduled Tasks on the Server List Scheduled Tasks Get-ScheduledTask Get-ScheduledTask List specific ScheduledTask $ScheduledTask = Get-ScheduledTask -TaskName ZIPandDeleteIISLog $ScheduledTask | fl $ScheduledTask.Actions $ScheduledTask.Triggers Details Get-ScheduledTaskInfo Get-ScheduledTask -TaskName ZIPandDeleteIISLog | Get-ScheduledTaskInfo Create new Scheduled Task Register-ScheduledTask
PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.24810.12000 released

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.24810.12000 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.24810.12000 PowerShell Module. PowerShell Gallery Microsoft.Online.SharePoint.PowerShell I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Find-PSResource Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-PSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Install-PSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Get-InstalledPSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser List the Commands of the Module
Microsoft.Graph PowerShell Modules 2.18.0 released

Microsoft.Graph PowerShell Modules 2.18.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.18.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.18.0 PowerShell Gallery Microsoft.Graph.Beta 2.18.0 Release Notes [v2] Weekly OpenApiDocs Refresh [v2] Examples Update Bump Azure.Identity from 1.10.3 to 1.11.0 in /src/Authentication/Authentication.Core by @dependabot Orders permissions based on least privilege property value (True or false) Add issue templating using issue forms Adds permissions type Restricts escaping of special characters to path segments only when using Invoke-MgGraphRequest and bumps Azure.