Script to write Extension Attribute?

mwu1876
Contributor

I know you can include a script in the Extension Attribute section but can you also write to an Extension Attribute directly from a policy? If so, example? Thanks!

3 REPLIES 3

Tribruin
Valued Contributor II

No, not directly. But as a work around, you could have your script write a file to the computer in a tmp directory and then have your EA script read that file and return that as the EA.

mwu1876
Contributor

@RBlount Yeah, that's what I had but wondering if there was a better way. Thanks!

patgmac
Contributor III

You can write to an EA using the API.