Node decommissioned but is present on chef server

Hi Professionals,

I have some nodes which are decommed now but are registered over the chef server.

Is there a way or command which I can run from my workstation and find out the active nodes and the one's which have been decommed.

knife status command should probably help in this

https://docs.chef.io/workstation/knife_status/