delete console object from JAMF Pro, for inactivity of 90 days o mas.

R4m4c05
New Contributor

hello, I am looking for a scrip to help me remove objects for inactivity of more than 90 days, however I have not achieved.

I’m not that good at programming or command lines.

I have researched and searched several forums however I have not found a script to help me run what I am looking for.

someone from the community can guide me. I am new to the JAMF tool and my knowledge is very poor. 

1 ACCEPTED SOLUTION

talkingmoose
Moderator
Moderator

You don't need a script for something like this.

Under Computers or Devices click Search Inventory > New to create a new advanced search.

Under the Criteria tab, add the Last Check-in criterion and set it to "more than x days ago" and specify the number of days you prefer.

Search and then click the Action button at the bottom. You can choose to delete these computers here.

Jamf Pro doesn't have a way to automate this, so you'll need to run this regularly (e.g. monthly or every three months).

View solution in original post

2 REPLIES 2

talkingmoose
Moderator
Moderator

You don't need a script for something like this.

Under Computers or Devices click Search Inventory > New to create a new advanced search.

Under the Criteria tab, add the Last Check-in criterion and set it to "more than x days ago" and specify the number of days you prefer.

Search and then click the Action button at the bottom. You can choose to delete these computers here.

Jamf Pro doesn't have a way to automate this, so you'll need to run this regularly (e.g. monthly or every three months).

R4m4c05
New Contributor

Thanks for your help @talkingmoose, the following process has the solution to my question.

 

regards.