Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add-type : Could not load file or assembly 'file:///C:\Users\elmezie\Dropbox\Personal\sabot\RestSharp.dll' or one of
- its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:9 char:1
- + add-type -Path $($pwd.Path + "\RestSharp.dll")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [Add-Type], FileLoadException
- + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.AddTypeCommand
- New-Object : Cannot find type [RestSharp.RestClient]: verify that the assembly containing this type is loaded.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:19 char:10
- + $c = New-Object RestSharp.RestClient($client)
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
- + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
- The property 'CookieContainer' cannot be found on this object. Verify that the property exists and can be set.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:20 char:5
- + $c.CookieContainer = $cookiejar
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : PropertyNotFound
- The property 'UserAgent' cannot be found on this object. Verify that the property exists and can be set.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:21 char:5
- + $c.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : PropertyNotFound
- New-Object : Cannot find type [RestSharp.RestRequest]: verify that the assembly containing this type is loaded.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:23 char:10
- + $r = New-Object RestSharp.RestRequest($loginUrl, "POST")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
- + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
- Unable to find type [RestSharp.DataFormat].
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:24 char:5
- + $r.RequestFormat = [RestSharp.DataFormat]::Json
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (RestSharp.DataFormat:TypeName) [], RuntimeException
- + FullyQualifiedErrorId : TypeNotFound
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:25 char:5
- + $r.AddHeader("Referer", "http://duel.springfield-armory.com/")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:26 char:5
- + $r.AddHeader("Accept", "application/json, text/plain, */*")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:27 char:5
- + $r.AddHeader("Accept-Language","en-US,en;q=0.5")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:28 char:5
- + $r.AddParameter("email","$userName")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:29 char:5
- + $r.AddParameter("password","$passWord")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:30 char:5
- + $r.AddHeader("Content-Type", "application/json; charset=utf-8");
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:31 char:5
- + $rr = $c.Execute($r)
- + ~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- New-Object : Cannot find type [RestSharp.RestRequest]: verify that the assembly containing this type is loaded.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:34 char:10
- + $r = New-Object RestSharp.RestRequest($voteUrl, "POST")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
- + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
- Unable to find type [RestSharp.DataFormat].
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:35 char:5
- + $r.RequestFormat = [RestSharp.DataFormat]::Json
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (RestSharp.DataFormat:TypeName) [], RuntimeException
- + FullyQualifiedErrorId : TypeNotFound
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:36 char:5
- + $r.AddHeader("Referer", "http://duel.springfield-armory.com/vote" ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- Unable to find type [RestSharp.ParameterType].
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:37 char:42
- Waiting to run next entry
- 63 minutes 38 seconds left
- [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ]
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:38 char:5
- + $r.AddHeader("Content-Type", "application/json; charset=utf-8");
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:39 char:5
- + $r.AddHeader("Accept", "application/json, text/plain, */*")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:40 char:5
- + $r.AddHeader("Accept-Language","en-US,en;q=0.5")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:41 char:5
- + $r.AddHeader("DNT", "1")
- + ~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:42 char:5
- + $r.AddHeader("Accept-Language","en-US,en;q=0.5")
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- You cannot call a method on a null-valued expression.
- At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:43 char:5
- + $rr = $c.Execute($r)
- + ~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement