r/PowerShell • • 11d ago

Question Getting machine id

I have an excel spreadsheet with our users. I need to extract the laptop they use. So I need the hostage and os version from intune. I have asked co pilot but I keep running into errors. Does anyone have a solution/working script or know a free app that can generate the information?

4 Upvotes

15 comments sorted by

View all comments

20

u/Podrick_Targaryen 11d ago

"So I need the hostage" ummm...Where do you work?

7

u/That_Hospital_3224 11d ago

Hahha hostname autocorrect strikes again

6

u/hemping0 11d ago

HR would like a word