3/31/2023 11:06 AM | |
Joined: 9/17/2020 Last visit: 3/19/2025 Posts: 7 Rating:
|
Hi all, I'm seeking your help today on the following: I have a working Powershell script on a Windows 10 PC that downloads the DataLogs from a S7-1200 every hour. It has an username and password in the script for the webserver. No problems - all works perfect. The problem starts when I password protect the PLC (so it asks for a password when connecting to it through TIA portal (I'm using V15.1). When the PLC is password protected, it still connects to the PLC, downloads some general files (that I usually delete) but it refuses to download the DataLogs that I need. The odd thing is, when I connect through a web browser manually I can access the files OK. I think the password prohibits the cookie.txt file because I also got certificate errors that I never have seen before, worked around that but the Powershell script does not download DataLogs. I have the script attached. username admin and password pwd, are just placeholders, Any ideas how I can still password protect the PLC and still use Powershell to download the files? Thank you! Attachmentscript.pdf (736 Downloads) |
4/11/2023 10:18 AM | |
Joined: 7/19/2010 Last visit: 7/25/2025 Posts: 53 Rating:
|
Hello, Did you try use certificate connection? Good Luck🏆 |
Esdras Lopes Cardoso |
|
Follow us on