Community Page
- HuddledMasses.org/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thanks for the plugins Jaykul! I'm using them on my website which I just migrated from textpattern to wordpress and they are working great... There is just one little problem I am having... It...
- I was able to download the wmv-hd and the powerpoint ones. I gathered info from www.microsoftpdc.com but it seems some formats are not available yet.
- Were you able to get anything aside from wmv to work, Joel?
- Hey Jaykul, I've got some experience with this that I'm happy to share. I've used a Tivo (and hacked it to add a larger hard drive), a Comcast DVR, a Windows XP Media Center with an...
- Hey Joel, Ars Technica is also live tweeting the keynotes here: http://twitter.com/arspdc
Huddled Masses
Joel Bennett's development blog...
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 a ... Continue reading »
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 a ... Continue reading »
11 months ago
if($res.StatusCode -eq 200) {
to
if($res.StatusCode -eq 200 -or $res.StatusCode -eq "OpeningData") {
Cheers,
Niclas
11 months ago
I changed:
if($fileName -and !(Split-Path $fileName))
to:
if($fileName -ne $null -and (Split-Path $fileName) -ne $null)
which worked. I prefer specifying things in this way as I believe they are also easier to read.
Comments in the script would also have been nice for this of us newer to PS than others!