Here's the problem, we're migrating from one web server to another. We have a site that has numerous folders that are configured to redirect to a URL. I'm going to guess that the radio button labeled "A redirection to a URL" and the form field labeled "Redirect To" are properties that can be searched using a script.
I need to search for and find each one of these folders that does a redirect.
If a Powershell script can help me find these redirects, would someone help me out with the script?
I'm not asking for a script that will loop through each folder, I'll plug them into the script one folder at a time.
Something like get-childitem c:data -recurse | get-acl | export-csv c:\filename.csv
But instead of getting the acl, get the value for the radio button or the value in the Redirect To field.