显示您当前的服务器或工作组设置。

NET CONFIG - 语法

NET CONFIG

NET CONFIG - 示例

NET CONFIG

运行上面代码输出

The following running services can be controlled:
   Server
   Workstation
The command completed successfully.

参考链接

https://www.learnfk.com/batch-script/batch-script-net-config.html