VBA不使用額外工具 在命令行連接遠端辦公電腦
// VBScript 範例概念
Set objLocator = CreateObject("WbemScripting.SWbemLocator")
Set objServices = objLocator.ConnectServer("遠端IP", "root\cimv2", "帳號", "密碼")
// VBScript 範例概念
Set objLocator = CreateObject("WbemScripting.SWbemLocator")
Set objServices = objLocator.ConnectServer("遠端IP", "root\cimv2", "帳號", "密碼")
使用vscode 1.108 可以,1.109+不行
{
"update.enableWindowsBackgroundUpdates": false,
"update.showReleaseNotes": false,
"extensions.autoUpdate": "off",
"extensions.autoCheckUpdates": false,
"remote.SSH.useLocalServer": false,
"remote.SSH.remotePlatform": {
"centos-airflow": "linux",
"10.134.241.141": "linux"
},
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.automationShell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.windowsUseConptyDll": false,
"terminal.integrated.defaultProfile.windows": "CMD-Raw",
"terminal.integrated.profiles.windows": {
"CMD-Raw": {
"path": "C:\\Windows\\System32\\cmd.exe",
"args": ["/Q"],
"overrideName": true
}
},
"git.ignoreLegacyWarning": true,
"window.zoomLevel": 0,
"remote.SSH.configFile": "C:\\Users\\rpa\\.ssh\\config",
"terminal.integrated.gpuAcceleration": "off",
"terminal.integrated.useTerminalPromises": false,
"terminal.integrated.windowsEnableConpty": "false",
"workbench.startupEditor": "none",
"update.mode": "none",}