Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $username = "xxxxxx";
- $password = "xxxxxx";
- $url = "www.facebook.com/login";
- $ie = New-Object -com internetexplorer.application;
- $ie.visible = $true;
- $ie.navigate($url);
- ($ie.document.getElementsByName("email") |select -first 1).value = $username;
- Exception from HRESULT: 0x800A01B6
- At line:1 char:1
- + ($ie.document.getElementsByName("email") |select -first 1).value = $u ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : OperationStopped: (:) [], NotSupportedException
- + FullyQualifiedErrorId : System.NotSupportedException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement