Get-Asset-Field Value

Hi all,

Can I retrieve a value from an asset custom field and use it in a script?
I’ve tried using Get-Asset-Field but unfortunately that doesn’t seem to exist. Is there another way?

Thanks,
Kevin

I figured it out. Just in case someone stumbles across this in the future:

Add a script variable
Give it a name
Select variable type “platform”
Select the appropriate custom field from the value dropdown

3 Likes