We have several websites and I don't want to check the status in powershell using `invoke-webrequest -URI google.com` every time.

I drafted something like this, which isn't working and I'd like help with:

```
$URLS = get-content c:\websitesaddress.txt
Invoke-webrequest -URI $urls |statuscode | export-csv c:\status.csv

```

I would like to check the status of several webpages and export it as CSV in the format `website name, statuscode`.