windows service
1 | sc create consulserver binPath= "D:\consul\consul.exe agent -config-file D:\consul\conf\consul.json" DisplayName= "Consul Server" start= auto |
- run with cmd and administrator
vmware esxi 6 许可证
1 | 0U0QJ-FR1EP-KZQN9-J1C74-23P5R |
powershell 连接远程 windows
1 | $uname = "Administrator" #administrator为用户名 |