I am new to Powershell and I have a script that I inherited. The script opens a URL link and downloads files from the web site to a local path. The problem is that each month, the URL changes so I have to manually update my script with the new URL. How can I use Powershell to find out what the URL has changed to and automatically use the new link? I am trying to learn Powershell but am not at this level yet so many thanks in advance.
Karen