ipv6 extension attribute

SteveSOE
New Contributor III

I'm trying to create an extension attribute to report back ipv6 addresses but not having much luck...

 

So far I got this...

 

Screenshot 2023-12-18 at 11.24.05 am.png

Anybody had success with doing something similar?

1 ACCEPTED SOLUTION

shannon_pasto
Contributor

You need to enclose your results in <result></result> tags, ie 

echo "<result>$ipv6_address</result>"

Refer to https://learn.jamf.com/bundle/jamf-pro-documentation-current/page/Computer_Extension_Attributes.html for more info

 

View solution in original post

2 REPLIES 2

shannon_pasto
Contributor

You need to enclose your results in <result></result> tags, ie 

echo "<result>$ipv6_address</result>"

Refer to https://learn.jamf.com/bundle/jamf-pro-documentation-current/page/Computer_Extension_Attributes.html for more info

 

SteveSOE
New Contributor III

Thanks Shannon, that worked a treat! Appreciate the speedy reply as well!