Using REST API’s from PowerShell with the Dream SDK
Awhile back I wrote a Get-Web script, which I later converted to a compiled Get-Web cmdlet and module (pssnapin) ... adding support for POST forms. At the time, it seemed like GET and POST with some string variables pretty much covered what I’d ever want to do with web pages, however I found a few [...]
Automating the PowerShell Script Repository
So, people keep talking about a better PowerShell script repository, and there’s at least 3 or 4 different people working on improvements, but for now, the one we have is working ok, and already has hundreds of scripts in it — but there hasn’t been a way to add or retrieve scripts from within PowerShell. [...]
Get-Web (Another round of wget for PowerShell)
Well, after multiple attempts at a wget PowerShell script (the last one works very well for downloading web pages, files, as long as you don’t need to send post parameters or anything like that) ... I found myself writing a script last week that included a custom HTTP POST function as well as using some [...]
WGet 2 for PowerShell
Edit: Added -Passthru Edit: I made a mistake … I wrote this a few weeks ago, and made an error in the script which causes it to not work properly with most binary files … I’ve fixed the script down below now, and while I was at it, I went ahead and added a download [...]
wget for PowerShell
Update: You should look at this other WGet for PowerShell script if what you want is to just download a file and have it work… I’m probably the last person on the planet to figure out how easy it is to get a basic wget working in PowerShell … but just in case I’m not [...]