Script works in VSCode & ISE but Not PS command line

Gordon,
Welcome back to the forum. :wave:t4:

When you post code or sample data or console output please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
Thanks in advance

It will be hard to recommend something meaningful without seeing the relevant part of your code. How do you fill in whe variables $TideInfo and $Today?

1 Like