浏览代码

getmac: add page (#2603)

* getmac: add page

* getmac: update description for the page
Owen Voke 6 年之前
父节点
当前提交
2186c3b61c
共有 1 个文件被更改,包括 27 次插入0 次删除
  1. 27 0
      pages/windows/getmac.md

+ 27 - 0
pages/windows/getmac.md

@@ -0,0 +1,27 @@
+# getmac
+
+> Display the MAC addresses of a system.
+
+- Display the MAC addresses for the current system:
+
+`getmac`
+
+- Display the details in a specific format:
+
+`getmac /fo {{table|list|csv}}`
+
+- Exclude the header in the output list:
+
+`getmac /nh`
+
+- Display the MAC addresses for a remote machine:
+
+`getmac /s {{hostname}} /u {{username}} /p {{password}}`
+
+- Display the MAC addresses with verbose information:
+
+`getmac /v`
+
+- Display detailed usage information:
+
+`getmac /?`