POWERSHELL

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.
List FIDO2 Keys and AAGUID for all Users with Microsoft Graph

List FIDO2 Keys and AAGUID for all Users with Microsoft Graph

Andres Bohren
Hi All, While looking into Enable passkeys in Microsoft Authenticator (preview) i figured, it is a good Idea tho have a List of FIDO2 AAGUID’s of all Users if enabled. This Article shows you how to Export the FIDO2 Keys and the AAGUID of all Users in a M365 Tenant. During my research i also found some AAGUID Lists on the Internet YubiKey Hardware FIDO2 AAGUIDs FIDO2 AAGUID lists Passkey Provider AAGUIDs Here you can see a registered FIDO2 Key in the M365 Security Info
Entra Connect Sync 2.3.8 released

Entra Connect Sync 2.3.8 released

Andres Bohren
Hi All, Somehow i did miss, that there was an Update for Entra Connect Sync (Azure Active Directory Connect) from early April. It’s for download only, so no Automatic Update. Microsoft Entra Connect: Version release history Download Microsoft Entra Connect It’s still a bit a mess with the Product Names. The Product Name is “Microsoft Entra Connect Sync” but you download “Azure ADConnect.msi”. Installation I’ve downloaded the MSI and here are the Installation Screenshots
PowerShell 7.4.2 released

PowerShell 7.4.2 released

Andres Bohren
Hi All, Today i’ve noticed, that there is a new PowerShell 7 Version available. You can Download it from here: v7.4.2 Release of PowerShell Release notes: General Cmdlet Updates and Fixes Revert “Adjust PUT method behavior to POST one for default content type in WebCmdlets” (#21049) Fix regression with Get-Content when -Tail 0 and -Wait are both used (#20734) (Thanks @CarloToso!) Fix Get-Error serialization of array values (#21085) (Thanks @jborean93!) Fix a regression in Format-Table when header label is empty (#21156) Engine Updates and Fixes