从PowerShell访问Connected

从PowerShell访问Connected

本文介绍了从PowerShell访问Connected Factory的JSON文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在尝试将PLC连接到Azure云.我为此使用IOT加速器Connected Factory.我认为我在网上找到的来源不是很好.我有一些无法使用在线帮助解决的问题.

1.我已经通过https://www.azureiotsolutions.com/Accelerators页面部署了资源.我可以看到启动时的仪表板外观.现在,我使用putTY启动了SSH会话.尝试查看仪表板时出现运行时错误.

2.我需要根据自己的需求对仪表盘进行更改,并添加我的OPC UA服务器.做这个的最好方式是什么?当前,我正在尝试使用PowerShell首先访问虚拟机,但是没有运气.我上线的命令(例如 Enter-AzureRmVM)不适用于我的PowerShell.它说它无法识别此命令.当我使用Enter-AzVM命令时,它可以识别该命令,但是说参数数量不足.

如果有很好的参考资料可供参考,并且获得了该信息的链接,我将不胜感激.

预先感谢

解决方案


Hello,

I'm trying to connect PLC to Azure cloud. I'm using the IOT accelerator Connected Factory for this purpose. The sources I find online are not very good in my opinion. I have a few problems that I could not fix using the online help.

1. I have deployed the resources through https://www.azureiotsolutions.com/Accelerators page. I could see how the dashboard looks like when I launched it. Now I started a SSH session using putTY . I'm getting a runtime error when I try to see the dashboard. 

2. I need to make changes to the dashboard according to my requirements and add my OPC UA server too. What is the best way to do this? Currently I'm trying to use the PowerShell to first access the virtual machine but without luck. The commands I get online(like Enter-AzureRmVM) are not working for my PowerShell. It says that it cannot recognize this command. When I use the command Enter-AzVM, it recognizes the command but says insufficient number of parameters. 

If there is a good source that I can refer to and I get a link for the source I will be grateful. 

Thanks in advance

解决方案


这篇关于从PowerShell访问Connected Factory的JSON文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 18:02