There are a bunch of new corporate device examples in the PowerShell github for Intune
Guy should get an award for updating this, its pretty much exactly what I've been looking for
https://github.com/microsoftgraph/powershell-intune-samples/blob/master/CorporateDeviceEnrollment/CorpDeviceEnrollment_Export.ps1
$FileName_CSV = "CorpDeviceIdentifiers" + "_" + $(get-date -f dd-MM-yyyy-H-mm-ss) + ".csv"
$CDI = Get-CorporateDeviceIdentifiers
if($CDI){
foreach($CD in $CDI){
$IDI = $CD.importedDeviceIdentifier
$Desc = $CD.description
Write-Host "Adding '$IDI,$Desc' to '$FileName_CSV'..." -ForegroundColor Gray
Add-Content -Value "$IDI,$Desc" -Path "$ExportPath\$FileName_CSV"
}
}
else {
Write-Host "No Corporate Device Identifiers found..." -ForegroundColor Red
}
Write-Host
Subscribe to:
Posts (Atom)
New Cloud Based Policy Management Service
Really good stuff. We have needed the group targeting for some time now. I also noticed they addeed a bunch of new groups to the Azure AD ...
-
Well BES 5.0, so far anyway, sucks. It sucks to get set up, the interface sucks, the it policy area looks like something that was designed ...
-
I’ve read a lot of posts of people not getting email from BES, so I figured I’d throw together some of the common things I do when I user te...
-
Recently had to set up Okta assign some O365 licenses. I wasn't aware at that time, that this also requires me to manage all the Azure ...