Setting tags via powershell?

I know you can view device details including tags using Get-ImmyComputer. Is there a way to add tags to devices via powershell?

I don’t believe so, primarily because if you can programmatically add tags, you can, by the same method, create a filter script for a deployment as well, rendering the need to add tags programmatically, moot.

This would still be useful because tags have more than the singular purpose. If we are able to add tags via script (ingesting a csv or like) then we can call on those tags for multiple purposes.

1 Like

Not sure how that differs from using filter scripts. Plus, adding a tag during a session creates a catch-22 situation because deployment evaluations happen before the session begins execution.