Forum Discussion
jcrowing
Jul 10, 2019Copper Contributor
Issue with foreach loop and variable
Hi all, I have this script I am having trouble with (below). The script gets all our Exchange 2013 databases and iterates through them to return the server they are active on in our DAG. ...
jcrowing
Jul 10, 2019Copper Contributor
Think I have it.
I changed
-identity $DB.alias
to
-identity $DB.name
This seems to have resolved the issue.
I changed
-identity $DB.alias
to
-identity $DB.name
This seems to have resolved the issue.