Created
June 5, 2024 08:28
-
-
Save MrWyss-MSFT/b8d77f15ee993e4a36d15c38fa8b5cdd to your computer and use it in GitHub Desktop.
Get the Corporate device identifiers for Intune "Manufacturer, model and serial number (Windows only)"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ComputerSystem = Get-CimInstance -Class Win32_ComputerSystem | |
| $Bios = Get-CimInstance -Class Win32_BIOS | Select-Object SerialNumber | |
| $CSV = "{0},{1},{2}" -f $ComputerSystem.Manufacturer, $ComputerSystem.Model, $Bios.SerialNumber | |
| $CSV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment