Closed syne0 closed 2 weeks ago
Also the export is broken now? Again it was working completely fine at one point. Wonder if the two are related.
Peep that blank Enrollment type, I bet that's going to cause issues in the future...
Bigger picture of the console output, weird that it keeps saying 'No Data Found'? Pretty sure there is supposed to be a full entra device output as well, not just the simple one...
Bigger picture of the console output, weird that it keeps saying 'No Data Found'? Pretty sure there is supposed to be a full entra device output as well, not just the simple one...
This was due to the if ($investigatelog -ne $null) failing as it's an array so it technically doesnt return null. Fixed by using $investigatelog.count.
Not super reliable, occasionally runs into some kind of error, assuming it's because of formatting and my lack of error handling built into the function. It's fine if some errors occour, but the output of those errors needs to stay out of the console output and just get logged.
Would you believe this happened because I put $DeviceLog =+ $device1 instead of $DeviceLog += $device1 ???? omfg.
Still working on fixing output.
Output looks normal so guess in fixing the other issues that was fixed as well.
Not super reliable, occasionally runs into some kind of error, assuming it's because of formatting and my lack of error handling built into the function. It's fine if some errors occour, but the output of those errors needs to stay out of the console output and just get logged.