Exception calling "ExecuteReader" with "0" argument(s): "Invalid object name 'dbo.Users'." At D:\Media\extract_all.ps1:1 char:319 + ... rd,FullName FROM dbo.Users ORDER BY Id';$r=$q.ExecuteReader();$s='=== ... + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : SqlException You cannot call a method on a null-valued expression. At D:\Media\extract_all.ps1:1 char:383 + ... eReader();$s='=== LadaUser TOP5 ==='+[char]10;while($r.Read()){$p=''; ... + ~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At D:\Media\extract_all.ps1:1 char:548 + ... ].ToString()+'|'+$p+'|'+$r[5].ToString()+[char]10};$r.Close();Write-H ... + ~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull === LadaUser TOP5 ===