You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a foreach loop passing the $db into Invoke-DbaQuery but it's returning an error because it's trying to open database "@{name=[database]}" rather than just [database]. Is this a limitation or do I need to do anything to $db before it runs through Invoke-DbaQuery?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have a foreach loop passing the $db into Invoke-DbaQuery but it's returning an error because it's trying to open database "@{name=[database]}" rather than just [database]. Is this a limitation or do I need to do anything to $db before it runs through Invoke-DbaQuery?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions