ContributionsMost RecentMost LikesSolutionsRe: API to update LastLoginUsername in Custom Field I don't know why you don't have more replies praising your work here but HOLY CRAP! This is absolutely amazing and GoTo should hire you or something ASAP! Why this isn't built in functionality I have no idea. I do have a couple comments: First just make sure you use the custom group ID and not the name. I kind of missed that part in your walkthrough and spent way too long figuring out why I was getting an error. Second I did alter one part a little. It looks like you can only return 50 devices max with a custom inventory token. I guess they supply a continuation token in that case but I haven't been able to figure out how to get it. I added in this part: $hosts_out = $hosts_out | Sort-Object -Property ishostonline, hostStateChangeDate -Descending Basically just to have the most recent online computers at the top. Not perfect and doesn't get all the devices but it's the best I could figure out at this point. I'm thinking getting the continuation token working might require more coding than I want to do at the moment, but you never know. Anyways thank you again, you massively helped out at least one other admin 😉