Skip to main content
WinterSnowYap
Staff
Staff
July 23, 2024

Technical Tip: Use FortiManager CLI command to delete a managed device that is no longer in use

  • July 23, 2024
  • 0 replies
  • 1481 views
Description This article describes to use a FortiManager CLI command to delete a managed device that is no longer in use.
Scope FortiManager.
Solution

Example scenario:

 

  1. In FortiManager, there are 3 managed devices that are no longer being used.

 

202407_FMG_DeleteDeviceViaCLI_001.PNG

 

2. At FortiManager, run CLI commands to delete it, then refresh the page.

 

diagnose dvm device list

diagnose dvm device delete <ADOM Name> <Managed Device Name>

 

202407_FMG_DeleteDeviceViaCLI_002.PNG

 

202407_FMG_DeleteDeviceViaCLI_003.PNG

 

202407_FMG_DeleteDeviceViaCLI_004.PNG

 

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!