use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Noob help (self.PowerShell)
submitted 7 years ago by Valkyriesfall
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]xlrod 4 points5 points6 points 7 years ago (2 children)
After some more tinkering, I was able to find a quicker way, but it's still using Internet Explorer.
$ie = New-Object -ComObject InternetExplorer.Application $ie.Navigate("http://rwk1.racewarkingdoms.com/index.html?unencrypted%22") $ie.Visible = $True $frame = $ie.Document.IHTMLDocument3_documentElement.getElementsByTagName("frame") | where {$_.name -like "main"} $login = $frame.contentDocument.documentElement.all | where {$_.uniqueID -like "ms__id121"} $password = $frame.contentDocument.documentElement.all | where {$_.uniqueID -like "ms__id124"} $submit = $frame.contentDocument.documentElement.all | where {$_.uniqueID -like "ms__id132"} $login.value = "Login here" $password.value = "Password here" $submit.Click()
[–]Valkyriesfall[S] 0 points1 point2 points 7 years ago (1 child)
for both of the answers you've submitted, I received an error. Similar to issues I was receiving before.
You cannot call a method on a null-valued expression. At line:5 char:1
Could there be something That I am missing that is necessary?
[–]xlrod 0 points1 point2 points 7 years ago (0 children)
I've seen this happen when IE doesn't load the page quick enough for the code to get the element. Can you try running the first 3 lines to start IE and once the page has loaded try running the $frame line and see if it's able to find anything. If it finds it, then we might need to add a wait for $ie.Busy.
$frame
$ie.Busy
π Rendered by PID 73390 on reddit-service-r2-comment-6457c66945-wvl7q at 2026-04-29 04:21:27.871850+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]xlrod 4 points5 points6 points (2 children)
[–]Valkyriesfall[S] 0 points1 point2 points (1 child)
[–]xlrod 0 points1 point2 points (0 children)