Skip to main content
Question

Script to write Extension Attribute?

  • November 24, 2020
  • 3 replies
  • 1 view

Forum|alt.badge.img+8
  • Valued Contributor
  • 50 replies

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

Forum|alt.badge.img+19
  • Honored Contributor
  • 582 replies
  • November 24, 2020

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.


Forum|alt.badge.img+8
  • Author
  • Valued Contributor
  • 50 replies
  • November 24, 2020

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


Forum|alt.badge.img+9
  • New Contributor
  • 140 replies
  • November 24, 2020

You can write to an EA using the API.