andrew-s-taylor / public

Public Scripts and Apps
GNU General Public License v3.0
459 stars 174 forks source link

Iteration typo/bug #11

Closed andreasrl closed 1 year ago

andreasrl commented 1 year ago

https://github.com/andrew-s-taylor/public/blob/065e0f16d1641069466af563902f242426b6f587/Powershell%20Scripts/Intune/SyncAllIntuneDevices.ps1#L134

Pretty sure there's a bug here (line 134 and above). To be fair I haven't run it yet, but it looks to me like it needs a little cleanup to work as expected... right?

andrew-s-taylor commented 1 year ago

Thank you, I'd missed that, should be sorted now