Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 644 Bytes

File metadata and controls

11 lines (7 loc) · 644 Bytes

This repository contains PowerShell utilities that interact with Microsoft Intune and Entra ID using the Microsoft Graph API.

Available scripts

  • Device_upn.ps1 – Retrieve devices in a specified Entra group and optionally export the results to CSV.
  • Get-EntraDeviceID.ps1 – Look up device IDs for a list of device names and optionally add them to an Entra group.
  • Set_Primary_User.ps1 – Set the Intune primary user for devices based on their last logged-in user.

Ensure your account has sufficient permissions before running any script.

More information can be found at ZerotoTrust.Tech.