‎02-24-2011 06:37 PM
‎10-09-2012 12:25 PM
The term 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\xxxxxx\Desktop\Dell_WarrLSv2.ps1:15 char:24
+ $SQLQry = Invoke-Sqlcmd <<<< -Query "SELECT SerialNumber, Computername FROM lansweeperdb.dbo.tblSystemEnclosure WHERE LEN(serialnumber) = 7 AND Manufacturer LIKE 'Dell%'"
+ CategoryInfo : ObjectNotFound: (Invoke-Sqlcmd:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
At C:\Users\biekrz3\Desktop\Dell_WarrLSv2.ps1:25 char:29
+ $HTML = $oWeb.DownloadString <<<< ($sUrl)
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
‎05-21-2011 01:22 AM
‎04-18-2011 10:56 PM
‎03-09-2011 12:07 PM
‎03-08-2011 11:29 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now