A user asked about removing devices from EdgeDX before the maintenance fall off, due to a hardware refresh causing devices to be listed twice. Others suggested using the register with name flag or selecting and removing the device, and an API endpoint for deleting devices was shared. Someone offered their powershell module and potential ways to track old device names. It was recommended to match on serial numbers.
Read the entire ‘How to Remove Devices from EdgeDX Before Maintenance Fall Off Takes Effect’ thread below:
Is there a way to remove devices from EdgeDX before the maintenance fall off takes effect? We are going through a wide spread refresh of hardware and we have hit our device limit but it’s due to the same device being reimaged which means it’s listed in EdgeDX twice.
if it has the same name you could use the register with name flag or you can select the device and just remove it.
they aren’t
it’s a move from win10 to win11 and the naming convention has changed so unique names. I use the register with name flag for our non persistent machines but these are our normal laptops
is there a way to do that via API?
we probably will be looking at ~ 5000 over the next month
Actually looks like I did find an endpoint for it on the API docs
yup https://api.controlup.io/reference/delete-devices
was just looking it up for you
don’t have a script for it but maybe @member has one or you can grab bits from other scripts that I have shared in the past to use
I got pulled into a call on this in a panic since all our refreshes relied on remoting in and assisting with EdgeDX but no on looked at licenses…
thanks for the help here
you could also set the maintenance really short for a while. The moment a device logs back in it gets added back anyway
that was my first thought
I have a powershell module I’m working on to manage EdgeDX machines and I should be able to pretty quickly script a call to delete the device from edge with that api
now I just hope our deployment team is tracking the old machine names…
is there any relation to be made between old and new naming?
unfortunately no
it’s basically a randomly assigned guid with a convention in front of it but the old one was the serial number
I might be able to reference if I see the name of an old device as the serial of a new one but it would be easier if they could just get me a list we will see
you could match on serial
Continue reading and comment on the thread ‘How to Remove Devices from EdgeDX Before Maintenance Fall Off Takes Effect’. Not a member? Join Here!
Categories: All Archives, ControlUp Edge DX, ControlUp Scripts & Triggers