Hi
I am trying to auto dump the database, as i was ended up with the below error, can you please advise on this.
The following exception was thrown when trying to enumerate the collection: "Fa
iled to connect to server localhost\sqlexpress.".
At C:\PowerShell\Output_Schema.ps1:123 char:10
+ foreach <<<< ($login in $server.Logins)
+ CategoryInfo : NotSpecified: (:) [], ExtendedTypeSystemExceptio
n
+ FullyQualifiedErrorId : ExceptionInGetEnumerator