Use the Get-MgGroupTransitiveMemberAsUser cmdlet that's part of the Microsoft.Graph.Groups module. # Just get all Microsoft.Graph modules, including Microsoft.Graph.Groups Install-Module Microsoft.Graph # Specify the Entra ID object ID of the group $groupId = '<your group ID>` # Connect to the Graph API. Use an account that has permissions to (minimally) read all group information Connect-MgGraph -Scopes … Continue reading Retrieving all transitive user members of an Entra ID security group
Tag: PowerShell
Microsoft has released a PowerShell module to check your device and operating system for the Spectre and Meltdown vulnerabilities. This PowerShell module is easy to install from an elevated PowerShell window: You may need to approve the installation of the NuGet provider if you haven't previously installed modules from NuGet. You will likely also get … Continue reading Check your Windows OS for Spectre and Meltdown vulnerability with PowerShell
I am preparing some posts about managing aspects of Azure services with PowerShell. Before you can do that, you'll need to authenticate to Azure. In this "prereq" blog post, I'll briefly walk through the process of authenticating to your Azure subscription from PowerShell. This blog post will only use the "newer" Azure Resource Manager (AzureRm) … Continue reading Logging on to Azure with PowerShell