删除所有控制器

概述

RemoveAllController 命令用于删除控制器列表中的所有控制器。

调用

<ToolPath> -NetmanageCommand RemoveAllController <RemoveMode>

参数描述

调用参数

内容

<ToolPath>

要执行的工具路径,该工具支持 Network Device Identification 命令行调用,请参见本表下面的示例。

<RemoveMode>

定义删除类型的可选参数:

  • 0(缺省设置)

    RemoveAll
  • 1

    RemoveAllButLockedToCacheOnes

    LockedToCacheOnes 是持续缓存中保存的项目。下次启动 Windows 后,它们会显示在列表中。通常情况下,它们是远程控制器中的不会自动更新的项目。

示例

条目

"c:\Programs\Schneider Electric\Diagnostics\ControllerAssistant.exe" -NetmanageCommand RemoveAllController
"c:\Programs\Schneider Electric\Diagnostics\ControllerAssistant.exe" -NetmanageCommand RemoveAllController 1

结果

成功处理调用时为 0,否则为 1。